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

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: rebase Created 4 years, 3 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 void OnAddedToWindow(); 172 void OnAddedToWindow();
173 173
174 // Notify the location bar that the browser window theme has changed. Provides 174 // Notify the location bar that the browser window theme has changed. Provides
175 // an update point for interface objects that need to set their appearance 175 // an update point for interface objects that need to set their appearance
176 // based on the window's theme. 176 // based on the window's theme.
177 void OnThemeChanged(); 177 void OnThemeChanged();
178 178
179 // ChromeOmniboxEditController: 179 // ChromeOmniboxEditController:
180 void UpdateWithoutTabRestore() override; 180 void UpdateWithoutTabRestore() override;
181 void OnChanged() override; 181 void OnChanged() override;
182 void ShowURL() override;
183 ToolbarModel* GetToolbarModel() override; 182 ToolbarModel* GetToolbarModel() override;
184 const ToolbarModel* GetToolbarModel() const override; 183 const ToolbarModel* GetToolbarModel() const override;
185 content::WebContents* GetWebContents() override; 184 content::WebContents* GetWebContents() override;
186 185
187 bool ShouldShowEVBubble() const; 186 bool ShouldShowEVBubble() const;
188 187
189 // Returns true if the security state decoration should be displayed. The 188 // Returns true if the security state decoration should be displayed. The
190 // security state should only be shown for valid and invalid HTTPS states. 189 // security state should only be shown for valid and invalid HTTPS states.
191 bool ShouldShowSecurityState() const; 190 bool ShouldShowSecurityState() const;
192 191
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // The security level of the location bar icon. 320 // The security level of the location bar icon.
322 security_state::SecurityStateModel::SecurityLevel security_level_; 321 security_state::SecurityStateModel::SecurityLevel security_level_;
323 322
324 // Used to schedule a task for the first run info bubble. 323 // Used to schedule a task for the first run info bubble.
325 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 324 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
326 325
327 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 326 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
328 }; 327 };
329 328
330 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 329 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698