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

Unified Diff: chrome/browser/ui/cocoa/location_bar/selected_keyword_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/selected_keyword_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
index 1c2a0f007f00eb642a7fe126e3375e9b12ee693e..23f8c140b67d3734d775c1b4dc5f8481dcf4ba1a 100644
--- a/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration.h
@@ -19,6 +19,9 @@ class SelectedKeywordDecoration : public BubbleDecoration {
SelectedKeywordDecoration();
~SelectedKeywordDecoration() override;
+ // Return the color used to draw the SelectedKeywordDecoration in MD.
+ NSColor* GetBackgroundBorderColor() override;
+
// Calculates appropriate full and partial label strings based on
// inputs.
void SetKeyword(const base::string16& keyword, bool is_extension_keyword);

Powered by Google App Engine
This is Rietveld 408576698