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

Unified Diff: chrome/browser/themes/browser_theme_pack.h

Issue 16610002: High DPI support for themes: Raw images for NTP attribution and background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/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 8e02d7b694cc6c029d13e2faba524fe3bbd742f2..6c9f25dd6dd9834d3327ea4f47703aceb04eeb75 100644
--- a/chrome/browser/themes/browser_theme_pack.h
+++ b/chrome/browser/themes/browser_theme_pack.h
@@ -218,6 +218,9 @@ class BrowserThemePack : public base::RefCountedThreadSafe<
bool GetScaleFactorFromManifestKey(const std::string& key,
ui::ScaleFactor* scale_factor) const;
+ // Generates raw images for any missing scale from an available scale.
+ void GenerateRawImageForAllScales(int prs_id);
+
// Data pack, if we have one.
scoped_ptr<ui::DataPack> data_pack_;

Powered by Google App Engine
This is Rietveld 408576698