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

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: Enlarge the window so that it's over the minimum window size 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // The security level of the location bar icon. 343 // The security level of the location bar icon.
342 security_state::SecurityLevel security_level_; 344 security_state::SecurityLevel security_level_;
343 345
344 // Used to schedule a task for the first run info bubble. 346 // Used to schedule a task for the first run info bubble.
345 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; 347 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_;
346 348
347 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); 349 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac);
348 }; 350 };
349 351
350 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ 352 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698