blob: 214851b4841b9facf5b3c6955b9ef4dcdde6cedb [file] [log] [blame]
[email protected]80cc3f72009-04-24 18:06:051// Copyright (c) 2009 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]5bd918f2010-07-28 21:16:305#ifndef CHROME_BROWSER_RESOURCES_UTIL_H_
6#define CHROME_BROWSER_RESOURCES_UTIL_H_
[email protected]80cc3f72009-04-24 18:06:057
8#include <string>
9
[email protected]1faee3f02010-06-21 07:01:3410class ResourcesUtil {
[email protected]80cc3f72009-04-24 18:06:0511 public:
Peter Boströmfadb1752021-09-30 19:17:0112 ResourcesUtil(const ResourcesUtil&) = delete;
13 ResourcesUtil& operator=(const ResourcesUtil&) = delete;
14
[email protected]80cc3f72009-04-24 18:06:0515 // Returns the theme resource id or -1 if no resource with the name exists.
[email protected]1faee3f02010-06-21 07:01:3416 static int GetThemeResourceId(const std::string& resource_name);
[email protected]80cc3f72009-04-24 18:06:0517
18 private:
[email protected]1faee3f02010-06-21 07:01:3419 ResourcesUtil() {}
[email protected]80cc3f72009-04-24 18:06:0520};
21
[email protected]5bd918f2010-07-28 21:16:3022#endif // CHROME_BROWSER_RESOURCES_UTIL_H_