| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 const GURL& alternate_nav_url) OVERRIDE; | 146 const GURL& alternate_nav_url) OVERRIDE; |
| 147 virtual void OnChanged() OVERRIDE; | 147 virtual void OnChanged() OVERRIDE; |
| 148 virtual void OnSelectionBoundsChanged() OVERRIDE; | 148 virtual void OnSelectionBoundsChanged() OVERRIDE; |
| 149 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 149 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
| 150 virtual void OnKillFocus() OVERRIDE; | 150 virtual void OnKillFocus() OVERRIDE; |
| 151 virtual void OnSetFocus() OVERRIDE; | 151 virtual void OnSetFocus() OVERRIDE; |
| 152 virtual gfx::Image GetFavicon() const OVERRIDE; | 152 virtual gfx::Image 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 content::WebContents* GetWebContents() const OVERRIDE; | 155 virtual content::WebContents* GetWebContents() const OVERRIDE; |
| 156 virtual gfx::Rect GetOmniboxBounds() const OVERRIDE; | |
| 157 | 156 |
| 158 NSImage* GetKeywordImage(const string16& keyword); | 157 NSImage* GetKeywordImage(const string16& keyword); |
| 159 | 158 |
| 160 AutocompleteTextField* GetAutocompleteTextField() { return field_; } | 159 AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
| 161 | 160 |
| 162 | 161 |
| 163 // content::NotificationObserver: | 162 // content::NotificationObserver: |
| 164 virtual void Observe(int type, | 163 virtual void Observe(int type, |
| 165 const content::NotificationSource& source, | 164 const content::NotificationSource& source, |
| 166 const content::NotificationDetails& details) OVERRIDE; | 165 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // Used to schedule a task for the first run info bubble. | 258 // Used to schedule a task for the first run info bubble. |
| 260 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 259 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
| 261 | 260 |
| 262 // Used to change the visibility of the star decoration. | 261 // Used to change the visibility of the star decoration. |
| 263 BooleanPrefMember edit_bookmarks_enabled_; | 262 BooleanPrefMember edit_bookmarks_enabled_; |
| 264 | 263 |
| 265 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 264 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 266 }; | 265 }; |
| 267 | 266 |
| 268 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 267 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |