• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
5 #ifndef CHROME_BROWSER_RESOURCES_UTIL_H_
6 #define CHROME_BROWSER_RESOURCES_UTIL_H_
7 
8 #include <string>
9 
10 #include "base/basictypes.h"
11 
12 class ResourcesUtil {
13  public:
14   // Returns the theme resource id or -1 if no resource with the name exists.
15   static int GetThemeResourceId(const std::string& resource_name);
16 
17  private:
ResourcesUtil()18   ResourcesUtil() {}
19   DISALLOW_COPY_AND_ASSIGN(ResourcesUtil);
20 };
21 
22 #endif  // CHROME_BROWSER_RESOURCES_UTIL_H_
23