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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.cc

Issue 11786003: Move Icons out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_unref_browser_action
Patch Set: Created 7 years, 11 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/ui/gtk/location_bar_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
index 4aafc408cbbf7fe77daff2ee02cae776034ea63c..6c3bd3fba9efb692fab1c6a4a360269bb7fad843 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -72,6 +72,7 @@
#include "chrome/common/badge_util.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/extensions/api/icons/icons_handler.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_manifest_constants.h"
#include "chrome/common/extensions/extension_resource.h"
@@ -1893,8 +1894,8 @@ LocationBarViewGtk::PageActionViewGtk::PageActionViewGtk(
this)) {
event_box_.Own(gtk_event_box_new());
gtk_widget_set_size_request(event_box_.get(),
- Extension::kPageActionIconMaxSize,
- Extension::kPageActionIconMaxSize);
+ extensions::IconsInfo::kPageActionIconMaxSize,
+ extensions::IconsInfo::kPageActionIconMaxSize);
// Make the event box not visible so it does not paint a background.
gtk_event_box_set_visible_window(GTK_EVENT_BOX(event_box_.get()), FALSE);

Powered by Google App Engine
This is Rietveld 408576698