| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 content::PageTransition transition, | 140 content::PageTransition transition, |
| 141 const GURL& alternate_nav_url) OVERRIDE; | 141 const GURL& alternate_nav_url) OVERRIDE; |
| 142 virtual void OnChanged() OVERRIDE; | 142 virtual void OnChanged() OVERRIDE; |
| 143 virtual void OnSelectionBoundsChanged() OVERRIDE; | 143 virtual void OnSelectionBoundsChanged() OVERRIDE; |
| 144 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 144 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
| 145 virtual void OnKillFocus() OVERRIDE; | 145 virtual void OnKillFocus() OVERRIDE; |
| 146 virtual void OnSetFocus() OVERRIDE; | 146 virtual void OnSetFocus() OVERRIDE; |
| 147 virtual SkBitmap GetFavicon() const OVERRIDE; | 147 virtual SkBitmap GetFavicon() const OVERRIDE; |
| 148 virtual string16 GetTitle() const OVERRIDE; | 148 virtual string16 GetTitle() const OVERRIDE; |
| 149 virtual InstantController* GetInstant() OVERRIDE; | 149 virtual InstantController* GetInstant() OVERRIDE; |
| 150 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; | 150 virtual TabContents* GetTabContents() const OVERRIDE; |
| 151 | 151 |
| 152 NSImage* GetKeywordImage(const string16& keyword); | 152 NSImage* GetKeywordImage(const string16& keyword); |
| 153 | 153 |
| 154 AutocompleteTextField* GetAutocompleteTextField() { return field_; } | 154 AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
| 155 | 155 |
| 156 | 156 |
| 157 // Overridden from NotificationObserver. | 157 // Overridden from NotificationObserver. |
| 158 virtual void Observe(int type, | 158 virtual void Observe(int type, |
| 159 const content::NotificationSource& source, | 159 const content::NotificationSource& source, |
| 160 const content::NotificationDetails& details) OVERRIDE; | 160 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 // Used to schedule a task for the first run info bubble. | 242 // Used to schedule a task for the first run info bubble. |
| 243 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 243 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 244 | 244 |
| 245 // Used to change the visibility of the star decoration. | 245 // Used to change the visibility of the star decoration. |
| 246 BooleanPrefMember edit_bookmarks_enabled_; | 246 BooleanPrefMember edit_bookmarks_enabled_; |
| 247 | 247 |
| 248 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 248 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 249 }; | 249 }; |
| 250 | 250 |
| 251 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 251 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |