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 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
17 #include "chrome/browser/autocomplete/autocomplete_match.h" | 17 #include "chrome/browser/autocomplete/autocomplete_match.h" |
18 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
19 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 18 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
20 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 19 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
21 #include "content/common/notification_observer.h" | 20 #include "content/common/notification_observer.h" |
22 #include "content/common/notification_registrar.h" | 21 #include "content/common/notification_registrar.h" |
23 #include "content/common/page_transition_types.h" | 22 #include "content/common/page_transition_types.h" |
24 #include "ui/base/animation/animation_delegate.h" | 23 #include "ui/base/animation/animation_delegate.h" |
25 #include "ui/base/gtk/gtk_signal.h" | 24 #include "ui/base/gtk/gtk_signal.h" |
26 #include "ui/base/gtk/gtk_signal_registrar.h" | 25 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 26 #include "ui/base/gtk/owned_widget_gtk.h" |
27 #include "ui/gfx/rect.h" | 27 #include "ui/gfx/rect.h" |
28 #include "webkit/glue/window_open_disposition.h" | 28 #include "webkit/glue/window_open_disposition.h" |
29 | 29 |
30 class AutocompleteEditController; | 30 class AutocompleteEditController; |
31 class AutocompleteEditModel; | 31 class AutocompleteEditModel; |
32 class AutocompletePopupView; | 32 class AutocompletePopupView; |
33 class Profile; | 33 class Profile; |
34 class TabContents; | 34 class TabContents; |
35 | 35 |
36 namespace gfx { | 36 namespace gfx { |
(...skipping 501 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 |