[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 1 | // 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] | 5bd918f | 2010-07-28 21:16:30 | [diff] [blame] | 5 | #ifndef CHROME_BROWSER_RESOURCES_UTIL_H_ |
6 | #define CHROME_BROWSER_RESOURCES_UTIL_H_ | ||||
[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 7 | |
8 | #include <string> | ||||
9 | |||||
[email protected] | 1faee3f0 | 2010-06-21 07:01:34 | [diff] [blame] | 10 | class ResourcesUtil { |
[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 11 | public: |
Peter Boström | fadb175 | 2021-09-30 19:17:01 | [diff] [blame] | 12 | ResourcesUtil(const ResourcesUtil&) = delete; |
13 | ResourcesUtil& operator=(const ResourcesUtil&) = delete; | ||||
14 | |||||
[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 15 | // Returns the theme resource id or -1 if no resource with the name exists. |
[email protected] | 1faee3f0 | 2010-06-21 07:01:34 | [diff] [blame] | 16 | static int GetThemeResourceId(const std::string& resource_name); |
[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 17 | |
18 | private: | ||||
[email protected] | 1faee3f0 | 2010-06-21 07:01:34 | [diff] [blame] | 19 | ResourcesUtil() {} |
[email protected] | 80cc3f7 | 2009-04-24 18:06:05 | [diff] [blame] | 20 | }; |
21 | |||||
[email protected] | 5bd918f | 2010-07-28 21:16:30 | [diff] [blame] | 22 | #endif // CHROME_BROWSER_RESOURCES_UTIL_H_ |