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

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

Issue 2555063003: Render extension URLs with chips (Closed)
Patch Set: Chip -> text Created 4 years 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 // ChromeOmniboxEditController: 171 // ChromeOmniboxEditController:
172 void UpdateWithoutTabRestore() override; 172 void UpdateWithoutTabRestore() override;
173 void OnChanged() override; 173 void OnChanged() override;
174 ToolbarModel* GetToolbarModel() override; 174 ToolbarModel* GetToolbarModel() override;
175 const ToolbarModel* GetToolbarModel() const override; 175 const ToolbarModel* GetToolbarModel() const override;
176 content::WebContents* GetWebContents() override; 176 content::WebContents* GetWebContents() override;
177 177
178 bool ShouldShowEVBubble() const; 178 bool ShouldShowEVBubble() const;
179 179
180 bool ShouldShowExtensionBubble() const;
181
180 // Returns true if the security state decoration should be displayed. The 182 // Returns true if the security state decoration should be displayed. The
181 // security state should only be shown for valid and invalid HTTPS states. 183 // security state should only be shown for valid and invalid HTTPS states.
182 bool ShouldShowSecurityState() const; 184 bool ShouldShowSecurityState() const;
183 185
184 NSImage* GetKeywordImage(const base::string16& keyword); 186 NSImage* GetKeywordImage(const base::string16& keyword);
185 187
186 // Returns the color for the vector icon in the location bar. 188 // Returns the color for the vector icon in the location bar.
187 SkColor GetLocationBarIconColor() const; 189 SkColor GetLocationBarIconColor() const;
188 190
189 AutocompleteTextField* GetAutocompleteTextField() { return field_; } 191 AutocompleteTextField* GetAutocompleteTextField() { return field_; }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 // The security level of the location bar icon. 327 // The security level of the location bar icon.
326 security_state::SecurityLevel security_level_; 328 security_state::SecurityLevel security_level_;
327 329
328 // Used to schedule a task for the first run info bubble. 330 // Used to schedule a task for the first run info bubble.
329 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 331 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
330 332
331 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 333 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
332 }; 334 };
333 335
334 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 336 #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