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

Unified Diff: chrome/browser/ui/views/location_bar/page_action_with_badge_view.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, 10 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/views/location_bar/page_action_with_badge_view.cc
diff --git a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
index 33e37c7750a9fc6282a9bb46ce9255ba0fa32dfc..c5d4671229edf839610814441341e7fa44bcb2f0 100644
--- a/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
+++ b/chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/location_bar/page_action_with_badge_view.h"
#include "chrome/browser/ui/views/location_bar/page_action_image_view.h"
+#include "chrome/common/extensions/api/icons/icons_handler.h"
#include "chrome/common/extensions/extension.h"
#include "ui/base/accessibility/accessible_view_state.h"
@@ -23,8 +24,8 @@ void PageActionWithBadgeView::GetAccessibleState(
}
gfx::Size PageActionWithBadgeView::GetPreferredSize() {
- return gfx::Size(extensions::Extension::kPageActionIconMaxSize,
- extensions::Extension::kPageActionIconMaxSize);
+ return gfx::Size(extensions::IconsInfo::kPageActionIconMaxSize,
+ extensions::IconsInfo::kPageActionIconMaxSize);
}
int PageActionWithBadgeView::GetBuiltInHorizontalPadding() const {

Powered by Google App Engine
This is Rietveld 408576698