| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GTK_LOCATION_BAR_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual void UpdateContentSettingsIcons(); | 123 virtual void UpdateContentSettingsIcons(); |
| 124 virtual void UpdatePageActions(); | 124 virtual void UpdatePageActions(); |
| 125 virtual void InvalidatePageActions(); | 125 virtual void InvalidatePageActions(); |
| 126 virtual void SaveStateToContents(TabContents* contents); | 126 virtual void SaveStateToContents(TabContents* contents); |
| 127 virtual void Revert(); | 127 virtual void Revert(); |
| 128 virtual const AutocompleteEditView* location_entry() const; | 128 virtual const AutocompleteEditView* location_entry() const; |
| 129 virtual AutocompleteEditView* location_entry(); | 129 virtual AutocompleteEditView* location_entry(); |
| 130 virtual LocationBarTesting* GetLocationBarForTesting(); | 130 virtual LocationBarTesting* GetLocationBarForTesting(); |
| 131 | 131 |
| 132 // Implement the LocationBarTesting interface. | 132 // Implement the LocationBarTesting interface. |
| 133 virtual int PageActionCount() { return page_action_views_.size(); } | 133 virtual int PageActionCount(); |
| 134 virtual int PageActionVisibleCount(); | 134 virtual int PageActionVisibleCount(); |
| 135 virtual ExtensionAction* GetPageAction(size_t index); | 135 virtual ExtensionAction* GetPageAction(size_t index); |
| 136 virtual ExtensionAction* GetVisiblePageAction(size_t index); | 136 virtual ExtensionAction* GetVisiblePageAction(size_t index); |
| 137 virtual void TestPageActionPressed(size_t index); | 137 virtual void TestPageActionPressed(size_t index); |
| 138 | 138 |
| 139 // Implement the NotificationObserver interface. | 139 // Implement the NotificationObserver interface. |
| 140 virtual void Observe(NotificationType type, | 140 virtual void Observe(NotificationType type, |
| 141 const NotificationSource& source, | 141 const NotificationSource& source, |
| 142 const NotificationDetails& details); | 142 const NotificationDetails& details); |
| 143 | 143 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 // The last search keyword that was shown via the |tab_to_search_box_|. | 426 // The last search keyword that was shown via the |tab_to_search_box_|. |
| 427 std::wstring last_keyword_; | 427 std::wstring last_keyword_; |
| 428 | 428 |
| 429 // True if we should update the instant controller when the edit text changes. | 429 // True if we should update the instant controller when the edit text changes. |
| 430 bool update_instant_; | 430 bool update_instant_; |
| 431 | 431 |
| 432 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); | 432 DISALLOW_COPY_AND_ASSIGN(LocationBarViewGtk); |
| 433 }; | 433 }; |
| 434 | 434 |
| 435 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ | 435 #endif // CHROME_BROWSER_GTK_LOCATION_BAR_VIEW_GTK_H_ |
| OLD | NEW |