| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 PageTransition::Type transition, | 131 PageTransition::Type transition, |
| 132 const GURL& alternate_nav_url); | 132 const GURL& alternate_nav_url); |
| 133 virtual void OnChanged(); | 133 virtual void OnChanged(); |
| 134 virtual void OnSelectionBoundsChanged(); | 134 virtual void OnSelectionBoundsChanged(); |
| 135 virtual void OnInputInProgress(bool in_progress); | 135 virtual void OnInputInProgress(bool in_progress); |
| 136 virtual void OnKillFocus(); | 136 virtual void OnKillFocus(); |
| 137 virtual void OnSetFocus(); | 137 virtual void OnSetFocus(); |
| 138 virtual SkBitmap GetFavicon() const; | 138 virtual SkBitmap GetFavicon() const; |
| 139 virtual string16 GetTitle() const; | 139 virtual string16 GetTitle() const; |
| 140 virtual InstantController* GetInstant(); | 140 virtual InstantController* GetInstant(); |
| 141 virtual TabContentsWrapper* GetTabContentsWrapper(); | 141 virtual TabContentsWrapper* GetTabContentsWrapper() const; |
| 142 | 142 |
| 143 NSImage* GetKeywordImage(const string16& keyword); | 143 NSImage* GetKeywordImage(const string16& keyword); |
| 144 | 144 |
| 145 AutocompleteTextField* GetAutocompleteTextField() { return field_; } | 145 AutocompleteTextField* GetAutocompleteTextField() { return field_; } |
| 146 | 146 |
| 147 | 147 |
| 148 // Overridden from NotificationObserver. | 148 // Overridden from NotificationObserver. |
| 149 virtual void Observe(NotificationType type, | 149 virtual void Observe(NotificationType type, |
| 150 const NotificationSource& source, | 150 const NotificationSource& source, |
| 151 const NotificationDetails& details); | 151 const NotificationDetails& details); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 // Used to register for notifications received by NotificationObserver. | 218 // Used to register for notifications received by NotificationObserver. |
| 219 NotificationRegistrar registrar_; | 219 NotificationRegistrar registrar_; |
| 220 | 220 |
| 221 // Used to schedule a task for the first run info bubble. | 221 // Used to schedule a task for the first run info bubble. |
| 222 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_; | 222 ScopedRunnableMethodFactory<LocationBarViewMac> first_run_bubble_; |
| 223 | 223 |
| 224 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 224 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
| 225 }; | 225 }; |
| 226 | 226 |
| 227 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ | 227 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ |
| OLD | NEW |