Home | History | Annotate | Download | only in browser
      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 #pragma once
      8 
      9 #include <string>
     10 
     11 #include "base/basictypes.h"
     12 
     13 class ResourcesUtil {
     14  public:
     15   // Returns the theme resource id or -1 if no resource with the name exists.
     16   static int GetThemeResourceId(const std::string& resource_name);
     17 
     18  private:
     19   ResourcesUtil() {}
     20   DISALLOW_COPY_AND_ASSIGN(ResourcesUtil);
     21 };
     22 
     23 #endif  // CHROME_BROWSER_RESOURCES_UTIL_H_
     24