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

Unified Diff: chrome/browser/cocoa/location_bar_view_mac.h

Issue 199072: Add SSL icons on Mac OS X (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/location_bar_view_mac.h
===================================================================
--- chrome/browser/cocoa/location_bar_view_mac.h (revision 25790)
+++ chrome/browser/cocoa/location_bar_view_mac.h (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view_mac.h"
#include "chrome/browser/location_bar.h"
+#include "chrome/browser/toolbar_model.h"
class AutocompletePopupPositioner;
@class AutocompleteTextField;
@@ -82,6 +83,9 @@
NSImage* image);
private:
+ // Set the SSL icon we should be showing.
+ void SetSecurityIcon(ToolbarModel::Icon icon);
+
scoped_ptr<AutocompleteEditViewMac> edit_view_;
CommandUpdater* command_updater_; // Weak, owned by Browser.
@@ -98,6 +102,8 @@
Profile* profile_;
+ ToolbarModel* toolbar_model_; // Weak, owned by Browser.
+
// Image used in drawing keyword hint.
scoped_nsobject<NSImage> tab_button_image_;

Powered by Google App Engine
This is Rietveld 408576698