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

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

Issue 1718563002: Convert location bar decorations to Material Design (Mac). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_toolbar
Patch Set: Fix issue from browser test. Created 4 years, 9 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/translate_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/translate_decoration.h b/chrome/browser/ui/cocoa/location_bar/translate_decoration.h
index e611473122adb6cad102ddce366fd74439b35fbd..b90f2ef7cf2a99b83af6239cb9c8c365471eecc0 100644
--- a/chrome/browser/ui/cocoa/location_bar/translate_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/translate_decoration.h
@@ -22,7 +22,7 @@ class TranslateDecoration : public ImageDecoration {
~TranslateDecoration() override;
// Toggles the icon on or off.
- void SetLit(bool on);
+ void SetLit(bool on, bool locationBarIsDark);
// Implement |LocationBarDecoration|
bool AcceptsMousePress() override;

Powered by Google App Engine
This is Rietveld 408576698