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

Unified Diff: chrome/browser/ui/webui/theme_source.h

Issue 10412004: Revert "Revert 137734 - Select theme resources from ResourceBundle at requested scale factor." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master Created 8 years, 7 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/ui/webui/shared_resources_data_source.cc ('k') | chrome/browser/ui/webui/theme_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/theme_source.h
diff --git a/chrome/browser/ui/webui/theme_source.h b/chrome/browser/ui/webui/theme_source.h
index 9e6c30efbb2b7cd3c1b18a1390136e6d60ceb422..5b58d1c13e12bc818fc86bbf8775c1cfefa2a5ce 100644
--- a/chrome/browser/ui/webui/theme_source.h
+++ b/chrome/browser/ui/webui/theme_source.h
@@ -9,6 +9,7 @@
#include <string>
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
+#include "ui/base/layout.h"
class Profile;
@@ -38,7 +39,9 @@ class ThemeSource : public ChromeURLDataManager::DataSource {
private:
// Fetch and send the theme bitmap.
- void SendThemeBitmap(int request_id, int resource_id);
+ void SendThemeBitmap(int request_id,
+ int resource_id,
+ ui::ScaleFactor scale_factor);
// The original profile (never an OTR profile).
Profile* profile_;
« no previous file with comments | « chrome/browser/ui/webui/shared_resources_data_source.cc ('k') | chrome/browser/ui/webui/theme_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698