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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h

Issue 2256613002: Remove ShowURL/HideURL from OmniboxView and LocationBarView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_search_terms
Patch Set: Mac Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void OnAddedToWindow(); 171 void OnAddedToWindow();
172 172
173 // Notify the location bar that the browser window theme has changed. Provides 173 // Notify the location bar that the browser window theme has changed. Provides
174 // an update point for interface objects that need to set their appearance 174 // an update point for interface objects that need to set their appearance
175 // based on the window's theme. 175 // based on the window's theme.
176 void OnThemeChanged(); 176 void OnThemeChanged();
177 177
178 // ChromeOmniboxEditController: 178 // ChromeOmniboxEditController:
179 void UpdateWithoutTabRestore() override; 179 void UpdateWithoutTabRestore() override;
180 void OnChanged() override; 180 void OnChanged() override;
181 void ShowURL() override;
182 ToolbarModel* GetToolbarModel() override; 181 ToolbarModel* GetToolbarModel() override;
183 const ToolbarModel* GetToolbarModel() const override; 182 const ToolbarModel* GetToolbarModel() const override;
184 content::WebContents* GetWebContents() override; 183 content::WebContents* GetWebContents() override;
185 184
186 bool ShouldShowEVBubble() const; 185 bool ShouldShowEVBubble() const;
187 NSImage* GetKeywordImage(const base::string16& keyword); 186 NSImage* GetKeywordImage(const base::string16& keyword);
188 187
189 AutocompleteTextField* GetAutocompleteTextField() { return field_; } 188 AutocompleteTextField* GetAutocompleteTextField() { return field_; }
190 189
191 // Returns true if the location bar is dark. 190 // Returns true if the location bar is dark.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 // Indicates whether or not the location bar is currently visible. 298 // Indicates whether or not the location bar is currently visible.
300 bool location_bar_visible_; 299 bool location_bar_visible_;
301 300
302 // Used to schedule a task for the first run info bubble. 301 // Used to schedule a task for the first run info bubble.
303 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 302 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
304 303
305 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 304 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
306 }; 305 };
307 306
308 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 307 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698