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

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

Issue 24175004: Remove dependency on ui::ScaleFactor from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: chrome/browser/extensions/extension_icon_image.h
diff --git a/chrome/browser/extensions/extension_icon_image.h b/chrome/browser/extensions/extension_icon_image.h
index d1ddd57f2bc74f96746a8adca90ffbd2917e9f03..94cdae5d6fc606c19562c289f8a7af3aa26d4f65 100644
--- a/chrome/browser/extensions/extension_icon_image.h
+++ b/chrome/browser/extensions/extension_icon_image.h
@@ -13,6 +13,7 @@
#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"
Ben Goodger (Google) 2013/09/16 23:10:31 ?
#include "ui/gfx/image/image_skia.h"
class Profile;
@@ -81,7 +82,7 @@ class IconImage : public content::NotificationObserver {
// observer's |OnExtensionIconImageLoaded| will be called.
gfx::ImageSkiaRep LoadImageForScaleFactor(ui::ScaleFactor scale_factor);
- void OnImageLoaded(ui::ScaleFactor scale_factor, const gfx::Image& image);
+ void OnImageLoaded(float scale_factor, const gfx::Image& image);
// content::NotificationObserver overrides:
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698