OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
7 | 7 |
8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "content/browser/accessibility/browser_accessibility_manager.h" | 15 #include "content/browser/accessibility/browser_accessibility_manager.h" |
16 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 16 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "ui/base/animation/animation_delegate.h" | 18 #include "ui/base/animation/animation_delegate.h" |
19 #include "ui/base/animation/slide_animation.h" | 19 #include "ui/base/animation/slide_animation.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/x/active_window_watcher_x_observer.h" | 23 #include "ui/base/x/active_window_watcher_x_observer.h" |
24 #include "ui/gfx/native_widget_types.h" | 24 #include "ui/gfx/native_widget_types.h" |
25 #include "ui/gfx/point.h" | 25 #include "ui/gfx/point.h" |
26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
27 #include "webkit/glue/webcursor.h" | 27 #include "webkit/glue/webcursor.h" |
28 #include "webkit/plugins/npapi/gtk_plugin_container_manager.h" | 28 #include "webkit/plugins/npapi/gtk_plugin_container_manager.h" |
29 | 29 |
30 class GtkKeyBindingsHandler; | |
31 | |
32 typedef struct _GtkClipboard GtkClipboard; | 30 typedef struct _GtkClipboard GtkClipboard; |
33 typedef struct _GtkSelectionData GtkSelectionData; | 31 typedef struct _GtkSelectionData GtkSelectionData; |
34 | 32 |
35 namespace content { | 33 namespace content { |
36 class GtkIMContextWrapper; | 34 class GtkIMContextWrapper; |
| 35 class GtkKeyBindingsHandler; |
37 class RenderWidgetHost; | 36 class RenderWidgetHost; |
38 class RenderWidgetHostImpl; | 37 class RenderWidgetHostImpl; |
39 struct NativeWebKeyboardEvent; | 38 struct NativeWebKeyboardEvent; |
40 | 39 |
41 // ----------------------------------------------------------------------------- | 40 // ----------------------------------------------------------------------------- |
42 // See comments in render_widget_host_view.h about this class and its members. | 41 // See comments in render_widget_host_view.h about this class and its members. |
43 // ----------------------------------------------------------------------------- | 42 // ----------------------------------------------------------------------------- |
44 class CONTENT_EXPORT RenderWidgetHostViewGtk | 43 class CONTENT_EXPORT RenderWidgetHostViewGtk |
45 : public RenderWidgetHostViewBase, | 44 : public RenderWidgetHostViewBase, |
46 public BrowserAccessibilityDelegate, | 45 public BrowserAccessibilityDelegate, |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 // Instance of accessibility information for the root of the AtkObject | 314 // Instance of accessibility information for the root of the AtkObject |
316 // tree representation of the WebKit render tree. | 315 // tree representation of the WebKit render tree. |
317 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 316 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
318 | 317 |
319 ui::GtkSignalRegistrar signals_; | 318 ui::GtkSignalRegistrar signals_; |
320 }; | 319 }; |
321 | 320 |
322 } // namespace content | 321 } // namespace content |
323 | 322 |
324 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 323 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |