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

Unified Diff: trunk/src/chrome/browser/extensions/extension_icon_image.h

Issue 24262008: Revert 224473 "Remove dependency on ui::ScaleFactor from ui/gfx" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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: trunk/src/chrome/browser/extensions/extension_icon_image.h
===================================================================
--- trunk/src/chrome/browser/extensions/extension_icon_image.h (revision 224497)
+++ trunk/src/chrome/browser/extensions/extension_icon_image.h (working copy)
@@ -13,7 +13,6 @@
#include "chrome/common/extensions/extension_icon_set.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-#include "ui/base/layout.h"
#include "ui/gfx/image/image_skia.h"
class Profile;
@@ -82,7 +81,7 @@
// observer's |OnExtensionIconImageLoaded| will be called.
gfx::ImageSkiaRep LoadImageForScaleFactor(ui::ScaleFactor scale_factor);
- void OnImageLoaded(float scale_factor, const gfx::Image& image);
+ void OnImageLoaded(ui::ScaleFactor scale_factor, const gfx::Image& image);
// content::NotificationObserver overrides:
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698