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

Unified Diff: chrome/browser/ui/views/browser_action_view.cc

Issue 10855154: Update browserAction.setIcon and pageAction.setIcon for hidpi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/ui/views/browser_action_view.h ('k') | chrome/common/extensions/api/browser_action.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/browser_action_view.cc
diff --git a/chrome/browser/ui/views/browser_action_view.cc b/chrome/browser/ui/views/browser_action_view.cc
index 8a4fe58cfee81f00386d9a361e93a1b0fe802271..a380c6573c2a1adeabd3d2d967c939e242e364f4 100644
--- a/chrome/browser/ui/views/browser_action_view.cc
+++ b/chrome/browser/ui/views/browser_action_view.cc
@@ -413,3 +413,7 @@ void BrowserActionButton::MaybeUnregisterExtensionCommand(bool only_if_active) {
GetFocusManager()->UnregisterAccelerator(*keybinding_.get(), this);
}
}
+
+gfx::ImageSkia BrowserActionButton::GetIconForTest() {
sky 2012/08/31 19:35:12 Make position match header.
+ return icon();
+}
« no previous file with comments | « chrome/browser/ui/views/browser_action_view.h ('k') | chrome/common/extensions/api/browser_action.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698