| OLD | NEW |
| 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 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 virtual void EndOriginChipAnimations(bool cancel_fade) OVERRIDE; | 159 virtual void EndOriginChipAnimations(bool cancel_fade) OVERRIDE; |
| 160 virtual InstantController* GetInstant() OVERRIDE; | 160 virtual InstantController* GetInstant() OVERRIDE; |
| 161 virtual content::WebContents* GetWebContents() OVERRIDE; | 161 virtual content::WebContents* GetWebContents() OVERRIDE; |
| 162 virtual ToolbarModel* GetToolbarModel() OVERRIDE; | 162 virtual ToolbarModel* GetToolbarModel() OVERRIDE; |
| 163 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE; | 163 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE; |
| 164 | 164 |
| 165 NSImage* GetKeywordImage(const base::string16& keyword); | 165 NSImage* GetKeywordImage(const base::string16& keyword); |
| 166 | 166 |
| 167 AutocompleteTextField* GetAutocompleteTextField() { return field_; } | 167 AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
| 168 | 168 |
| 169 ManagePasswordsDecoration* manage_passwords_decoration() { | |
| 170 return manage_passwords_decoration_.get(); | |
| 171 } | |
| 172 | 169 |
| 173 // content::NotificationObserver: | 170 // content::NotificationObserver: |
| 174 virtual void Observe(int type, | 171 virtual void Observe(int type, |
| 175 const content::NotificationSource& source, | 172 const content::NotificationSource& source, |
| 176 const content::NotificationDetails& details) OVERRIDE; | 173 const content::NotificationDetails& details) OVERRIDE; |
| 177 | 174 |
| 178 // SearchModelObserver: | 175 // SearchModelObserver: |
| 179 virtual void ModelChanged(const SearchModel::State& old_state, | 176 virtual void ModelChanged(const SearchModel::State& old_state, |
| 180 const SearchModel::State& new_state) OVERRIDE; | 177 const SearchModel::State& new_state) OVERRIDE; |
| 181 | 178 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // Used to schedule a task for the first run info bubble. | 283 // Used to schedule a task for the first run info bubble. |
| 287 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 284 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 288 | 285 |
| 289 // Used to change the visibility of the star decoration. | 286 // Used to change the visibility of the star decoration. |
| 290 BooleanPrefMember edit_bookmarks_enabled_; | 287 BooleanPrefMember edit_bookmarks_enabled_; |
| 291 | 288 |
| 292 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 289 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 293 }; | 290 }; |
| 294 | 291 |
| 295 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 292 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |