Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10655)

Unified Diff: chrome/common/extensions/manifest_handlers/theme_handler.h

Issue 13473013: Move ThemeHandler from c/c/e/api; move GetBrowserImages() out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest_handlers/theme_handler.h
diff --git a/chrome/common/extensions/api/themes/theme_handler.h b/chrome/common/extensions/manifest_handlers/theme_handler.h
similarity index 75%
rename from chrome/common/extensions/api/themes/theme_handler.h
rename to chrome/common/extensions/manifest_handlers/theme_handler.h
index 818bd6f534b7a8b4a5ffb07b12df7795eb4f3848..1a710a965cfadf5cf18af33294cdc67093adb98c 100644
--- a/chrome/common/extensions/api/themes/theme_handler.h
+++ b/chrome/common/extensions/manifest_handlers/theme_handler.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_
-#define CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_
+#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_THEME_HANDLER_H_
+#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_THEME_HANDLER_H_
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/manifest_handler.h"
@@ -20,10 +20,10 @@ struct ThemeInfo : public Extension::ManifestData {
ThemeInfo();
virtual ~ThemeInfo();
- static base::DictionaryValue* GetThemeImages(const Extension* extension);
- static base::DictionaryValue* GetThemeColors(const Extension* extension);
- static base::DictionaryValue* GetThemeTints(const Extension* extension);
- static base::DictionaryValue* GetThemeDisplayProperties(
+ static const base::DictionaryValue* GetImages(const Extension* extension);
+ static const base::DictionaryValue* GetColors(const Extension* extension);
+ static const base::DictionaryValue* GetTints(const Extension* extension);
+ static const base::DictionaryValue* GetDisplayProperties(
const Extension* extension);
// A map of resource id's to relative file paths.
@@ -58,4 +58,4 @@ class ThemeHandler : public ManifestHandler {
} // namespace extensions
-#endif // CHROME_COMMON_EXTENSIONS_API_THEMES_THEME_HANDLER_H_
+#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_THEME_HANDLER_H_
« no previous file with comments | « chrome/common/extensions/extension_file_util.cc ('k') | chrome/common/extensions/manifest_handlers/theme_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698