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

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

Issue 2001433002: Update appearance of omnibox focus for MD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: share constant Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 OnSetFocus() override;
182 void ShowURL() override; 181 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 NSImage* GetKeywordImage(const base::string16& keyword); 187 NSImage* GetKeywordImage(const base::string16& keyword);
189 188
190 AutocompleteTextField* GetAutocompleteTextField() { return field_; } 189 AutocompleteTextField* GetAutocompleteTextField() { return field_; }
191 190
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // Indicates whether or not the location bar is currently visible. 285 // Indicates whether or not the location bar is currently visible.
287 bool location_bar_visible_; 286 bool location_bar_visible_;
288 287
289 // Used to schedule a task for the first run info bubble. 288 // Used to schedule a task for the first run info bubble.
290 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 289 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
291 290
292 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 291 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
293 }; 292 };
294 293
295 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 294 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698