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

Unified Diff: chrome/browser/themes/browser_theme_pack.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
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/browser_theme_pack.h
diff --git a/chrome/browser/themes/browser_theme_pack.h b/chrome/browser/themes/browser_theme_pack.h
index a30bf588c65a07ace57bfb863c6226ec630c7889..bf9414fef410848281041dbef71f10a4e78bbd69 100644
--- a/chrome/browser/themes/browser_theme_pack.h
+++ b/chrome/browser/themes/browser_theme_pack.h
@@ -125,22 +125,23 @@ class BrowserThemePack : public base::RefCountedThreadSafe<
// Transforms the JSON tint values into their final versions in the |tints_|
// array.
- void BuildTintsFromJSON(base::DictionaryValue* tints_value);
+ void BuildTintsFromJSON(const base::DictionaryValue* tints_value);
// Transforms the JSON color values into their final versions in the
// |colors_| array and also fills in unspecified colors based on tint values.
- void BuildColorsFromJSON(base::DictionaryValue* color_value);
+ void BuildColorsFromJSON(const base::DictionaryValue* color_value);
// Implementation details of BuildColorsFromJSON().
- void ReadColorsFromJSON(base::DictionaryValue* colors_value,
+ void ReadColorsFromJSON(const base::DictionaryValue* colors_value,
std::map<int, SkColor>* temp_colors);
void GenerateMissingColors(std::map<int, SkColor>* temp_colors);
// Transforms the JSON display properties into |display_properties_|.
- void BuildDisplayPropertiesFromJSON(base::DictionaryValue* display_value);
+ void BuildDisplayPropertiesFromJSON(
+ const base::DictionaryValue* display_value);
// Parses the image names out of an extension.
- void ParseImageNamesFromJSON(base::DictionaryValue* images_value,
+ void ParseImageNamesFromJSON(const base::DictionaryValue* images_value,
const base::FilePath& images_path,
FilePathMap* file_paths) const;
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698