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

Unified Diff: chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm

Issue 1214243003: [Extensions UI] Clean up extension icon generation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/skia/ImageSkia Created 5 years, 5 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/cocoa/toolbar/wrench_toolbar_button_cell.mm
diff --git a/chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm b/chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm
index 458b8d1d2f2252b3ba50bb8450e41e8e1142f22d..2f2e2141e31a10771ea0e0056a82f19a124e39d7 100644
--- a/chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm
+++ b/chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm
@@ -82,10 +82,6 @@ class WrenchIconPainterDelegateMac : public WrenchIconPainter::Delegate {
return WrenchIconPainter::BEZEL_PRESSED;
if ([self isMouseInside])
return WrenchIconPainter::BEZEL_HOVER;
- // If an overflowed toolbar action wants to run, we give the wrench menu a
- // "popped out" appearance.
- if (overflowedToolbarActionWantsToRun_)
- return WrenchIconPainter::BEZEL_RAISED;
return WrenchIconPainter::BEZEL_NONE;
}

Powered by Google App Engine
This is Rietveld 408576698