OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_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 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 16 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
17 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 17 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
20 #include "ui/base/gtk/gtk_signal.h" | 20 #include "ui/base/gtk/gtk_signal.h" |
21 #include "ui/base/gtk/gtk_signal_registrar.h" | 21 #include "ui/base/gtk/gtk_signal_registrar.h" |
22 #include "ui/base/gtk/owned_widget_gtk.h" | 22 #include "ui/base/gtk/owned_widget_gtk.h" |
| 23 #include "ui/base/window_open_disposition.h" |
23 #include "ui/gfx/rect.h" | 24 #include "ui/gfx/rect.h" |
24 #include "webkit/glue/window_open_disposition.h" | |
25 | 25 |
26 class Browser; | 26 class Browser; |
27 class OmniboxPopupView; | 27 class OmniboxPopupView; |
28 class Profile; | 28 class Profile; |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
31 class Font; | 31 class Font; |
32 } | 32 } |
33 | 33 |
34 class GtkThemeService; | 34 class GtkThemeService; |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 // The view that is going to be focused next. Only valid while handling | 446 // The view that is going to be focused next. Only valid while handling |
447 // "focus-out" events. | 447 // "focus-out" events. |
448 GtkWidget* going_to_focus_; | 448 GtkWidget* going_to_focus_; |
449 | 449 |
450 ui::GtkSignalRegistrar signals_; | 450 ui::GtkSignalRegistrar signals_; |
451 | 451 |
452 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); | 452 DISALLOW_COPY_AND_ASSIGN(OmniboxViewGtk); |
453 }; | 453 }; |
454 | 454 |
455 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ | 455 #endif // CHROME_BROWSER_UI_GTK_OMNIBOX_OMNIBOX_VIEW_GTK_H_ |
OLD | NEW |