| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
| 22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
| 23 #include "webkit/glue/webcursor.h" | 23 #include "webkit/glue/webcursor.h" |
| 24 #include "webkit/plugins/npapi/gtk_plugin_container_manager.h" | 24 #include "webkit/plugins/npapi/gtk_plugin_container_manager.h" |
| 25 | 25 |
| 26 class RenderWidgetHost; | 26 class RenderWidgetHost; |
| 27 class GtkIMContextWrapper; | 27 class GtkIMContextWrapper; |
| 28 struct NativeWebKeyboardEvent; | 28 struct NativeWebKeyboardEvent; |
| 29 | 29 |
| 30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| 31 namespace views { | 31 namespace ui { |
| 32 class TooltipWindowGtk; | 32 class TooltipWindowGtk; |
| 33 } | 33 } |
| 34 #else | 34 #else |
| 35 class GtkKeyBindingsHandler; | 35 class GtkKeyBindingsHandler; |
| 36 #endif // defined(OS_CHROMEOS) | 36 #endif // defined(OS_CHROMEOS) |
| 37 | 37 |
| 38 typedef struct _GtkClipboard GtkClipboard; | 38 typedef struct _GtkClipboard GtkClipboard; |
| 39 typedef struct _GtkSelectionData GtkSelectionData; | 39 typedef struct _GtkSelectionData GtkSelectionData; |
| 40 | 40 |
| 41 // ----------------------------------------------------------------------------- | 41 // ----------------------------------------------------------------------------- |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 int dragged_at_vertical_edge_; | 262 int dragged_at_vertical_edge_; |
| 263 | 263 |
| 264 gfx::PluginWindowHandle compositing_surface_; | 264 gfx::PluginWindowHandle compositing_surface_; |
| 265 | 265 |
| 266 // The event for the last mouse down we handled. We need this for context | 266 // The event for the last mouse down we handled. We need this for context |
| 267 // menus and drags. | 267 // menus and drags. |
| 268 GdkEventButton* last_mouse_down_; | 268 GdkEventButton* last_mouse_down_; |
| 269 | 269 |
| 270 #if defined(OS_CHROMEOS) | 270 #if defined(OS_CHROMEOS) |
| 271 // Custimized tooltip window. | 271 // Custimized tooltip window. |
| 272 scoped_ptr<views::TooltipWindowGtk> tooltip_window_; | 272 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
| 273 #endif // defined(OS_CHROMEOS) | 273 #endif // defined(OS_CHROMEOS) |
| 274 }; | 274 }; |
| 275 | 275 |
| 276 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 276 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
| OLD | NEW |