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

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

Issue 2278423002: Misc. cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot a few Created 4 years, 4 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/resources/options/password_manager_list.js ('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 6c0b4fcfbb0b9d351743f1d55dd4521acaeecbe2..8ccd5b6a6d3abed4ed3d02cc992384aa10f0cf88 100644
--- a/chrome/browser/ui/webui/theme_source.h
+++ b/chrome/browser/ui/webui/theme_source.h
@@ -40,16 +40,15 @@ class ThemeSource : public content::URLDataSource {
// Fetch and send the theme bitmap.
void SendThemeBitmap(const content::URLDataSource::GotDataCallback& callback,
int resource_id,
- float scale_factor);
+ float scale);
// Similar to SendThemeBitmap but treat the responded data as image; if the
- // resource bundle does not contain the data for |scale_factor|, the resource
- // bundle falls back to the data of a lower scale, which means smaller images
- // will be served and webui handles the image incorrectly.
- // See crbug.com/442384.
+ // resource bundle does not contain the data for |scale|, the resource bundle
+ // falls back to the data of a lower scale, which means smaller images will be
+ // served and webui handles the image incorrectly. See crbug.com/442384.
void SendThemeImage(const content::URLDataSource::GotDataCallback& callback,
int resource_id,
- float scale_factor);
+ float scale);
sky 2016/08/26 16:25:46 Why do you prefer scale over scale_factor? I belie
Peter Kasting 2016/08/26 19:14:57 ScaleFactor is an enum, while "scale" is a float v
// The original profile (never an OTR profile).
Profile* profile_;
« no previous file with comments | « chrome/browser/resources/options/password_manager_list.js ('k') | chrome/browser/ui/webui/theme_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698