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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.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/location_bar_view_mac.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
index 4112958aeac489f3725277f3df279f171a1077e8..b0469bc9f3d10d5c71e6c97a6fabe9c5b937b0a7 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
@@ -159,6 +159,14 @@ class LocationBarViewMac : public LocationBar,
// Clears any location bar state stored for |contents|.
void ResetTabState(content::WebContents* contents);
+ // Set the location bar's icon to the correct image for the current URL.
+ void UpdateLocationIcon();
+
+ // Notify the location bar that it was added to the browser window. Provides
+ // an update point for interface objects that need to set their appearance
+ // based on the window's theme.
+ void OnAddedToWindow();
+
// ChromeOmniboxEditController:
void UpdateWithoutTabRestore() override;
void OnChanged() override;
@@ -168,6 +176,7 @@ class LocationBarViewMac : public LocationBar,
const ToolbarModel* GetToolbarModel() const override;
content::WebContents* GetWebContents() override;
+ bool ShouldShowEVBubble() const;
NSImage* GetKeywordImage(const base::string16& keyword);
AutocompleteTextField* GetAutocompleteTextField() { return field_; }

Powered by Google App Engine
This is Rietveld 408576698