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_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // enabled. | 156 // enabled. |
157 static OmniboxView* Create(AutocompleteEditController* controller, | 157 static OmniboxView* Create(AutocompleteEditController* controller, |
158 ToolbarModel* toolbar_model, | 158 ToolbarModel* toolbar_model, |
159 Profile* profile, | 159 Profile* profile, |
160 CommandUpdater* command_updater, | 160 CommandUpdater* command_updater, |
161 bool popup_window_mode, | 161 bool popup_window_mode, |
162 views::View* location_bar); | 162 views::View* location_bar); |
163 #endif | 163 #endif |
164 | 164 |
165 // Overridden from NotificationObserver: | 165 // Overridden from NotificationObserver: |
166 virtual void Observe(NotificationType type, | 166 virtual void Observe(int type, |
167 const NotificationSource& source, | 167 const NotificationSource& source, |
168 const NotificationDetails& details) OVERRIDE; | 168 const NotificationDetails& details) OVERRIDE; |
169 | 169 |
170 // Overridden from ui::AnimationDelegate. | 170 // Overridden from ui::AnimationDelegate. |
171 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; | 171 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; |
172 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; | 172 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; |
173 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; | 173 virtual void AnimationCanceled(const ui::Animation* animation) OVERRIDE; |
174 | 174 |
175 // Sets the colors of the text view according to the theme. | 175 // Sets the colors of the text view according to the theme. |
176 void SetBaseColor(); | 176 void SetBaseColor(); |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 // The view that is going to be focused next. Only valid while handling | 538 // The view that is going to be focused next. Only valid while handling |
539 // "focus-out" events. | 539 // "focus-out" events. |
540 GtkWidget* going_to_focus_; | 540 GtkWidget* going_to_focus_; |
541 | 541 |
542 ui::GtkSignalRegistrar signals_; | 542 ui::GtkSignalRegistrar signals_; |
543 | 543 |
544 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 544 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
545 }; | 545 }; |
546 | 546 |
547 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 547 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
OLD | NEW |