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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
150 virtual void OnKillFocus() OVERRIDE; | 150 virtual void OnKillFocus() OVERRIDE; |
151 virtual void OnSetFocus() OVERRIDE; | 151 virtual void OnSetFocus() OVERRIDE; |
152 virtual SkBitmap GetFavicon() const OVERRIDE; | 152 virtual SkBitmap GetFavicon() const OVERRIDE; |
153 virtual string16 GetTitle() const OVERRIDE; | 153 virtual string16 GetTitle() const OVERRIDE; |
154 virtual InstantController* GetInstant() OVERRIDE; | 154 virtual InstantController* GetInstant() OVERRIDE; |
155 virtual TabContents* GetTabContents() const OVERRIDE; | 155 virtual TabContents* GetTabContents() const OVERRIDE; |
156 | 156 |
157 NSImage* GetKeywordImage(const string16& keyword); | 157 NSImage* GetKeywordImage(const string16& keyword); |
158 | 158 |
159 AutocompleteTextField* GetAutocompleteTextField() { return field_; } | 159 AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
160 | 160 |
Scott Hess - ex-Googler
2012/07/27 20:31:06
Egregious whitespace change is egregious.
beaudoin
2012/08/01 02:23:26
Done.
| |
161 | |
162 // content::NotificationObserver: | 161 // content::NotificationObserver: |
163 virtual void Observe(int type, | 162 virtual void Observe(int type, |
164 const content::NotificationSource& source, | 163 const content::NotificationSource& source, |
165 const content::NotificationDetails& details) OVERRIDE; | 164 const content::NotificationDetails& details) OVERRIDE; |
166 | 165 |
167 // CommandObserver: | 166 // CommandObserver: |
168 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; | 167 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; |
169 | 168 |
170 private: | 169 private: |
171 // Posts |notification| to the default notification center. | 170 // Posts |notification| to the default notification center. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
253 // Used to schedule a task for the first run info bubble. | 252 // Used to schedule a task for the first run info bubble. |
254 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 253 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
255 | 254 |
256 // Used to change the visibility of the star decoration. | 255 // Used to change the visibility of the star decoration. |
257 BooleanPrefMember edit_bookmarks_enabled_; | 256 BooleanPrefMember edit_bookmarks_enabled_; |
258 | 257 |
259 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 258 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
260 }; | 259 }; |
261 | 260 |
262 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 261 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
OLD | NEW |