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

Unified Diff: chrome/browser/ui/cocoa/location_bar/zoom_decoration.h

Issue 1821823004: [Mac][Material Design] Update Omnibox dropdown on Mac to MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback. Created 4 years, 8 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/location_bar/zoom_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
index 8fd72d1d06c9fea173f6e97dd47f4f4b01daf1a6..01ad8e21b7366b1c369f0d33a6b0e5e2d83aa947 100644
--- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration.h
@@ -52,6 +52,9 @@ class ZoomDecoration : public ImageDecoration,
NSString* tooltip_string,
bool location_bar_is_dark);
+ // Overridden from LocationBarDecoration:
+ gfx::VectorIconId GetMaterialVectorIconId() override;
+
private:
friend ZoomDecorationTest;
@@ -79,6 +82,8 @@ class ZoomDecoration : public ImageDecoration,
// The string to show for a tooltip.
base::scoped_nsobject<NSString> tooltip_;
+ gfx::VectorIconId vector_icon_id_;
+
DISALLOW_COPY_AND_ASSIGN(ZoomDecoration);
};

Powered by Google App Engine
This is Rietveld 408576698