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

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: nits 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
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 5db3bad73e3ebcb48bf7cf6d2dd652029d6ad8d0..f2a3eabdfe3c0a27837380ec010407320f511bad 100644
--- a/chrome/browser/ui/views/browser_action_view.cc
+++ b/chrome/browser/ui/views/browser_action_view.cc
@@ -420,3 +420,7 @@ void BrowserActionButton::MaybeUnregisterExtensionCommand(bool only_if_active) {
GetFocusManager()->UnregisterAccelerator(*keybinding_.get(), this);
}
}
+
+gfx::Image BrowserActionButton::GetIconForTest() {
Jeffrey Yasskin 2012/08/17 23:20:28 Probably return the same type as icon(), since I d
tbarzic 2012/08/21 00:22:07 Done.
+ return gfx::Image(icon());
+}

Powered by Google App Engine
This is Rietveld 408576698