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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 54 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
55 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 55 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
56 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 56 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
57 virtual bool HasFocus() const OVERRIDE; | 57 virtual bool HasFocus() const OVERRIDE; |
58 virtual void Show() OVERRIDE; | 58 virtual void Show() OVERRIDE; |
59 virtual void Hide() OVERRIDE; | 59 virtual void Hide() OVERRIDE; |
60 virtual bool IsShowing() OVERRIDE; | 60 virtual bool IsShowing() OVERRIDE; |
61 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 61 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
62 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 62 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
63 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 63 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
64 virtual void UnhandledWheelEvent( | |
65 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | |
66 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 64 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
67 virtual bool CopyFromCompositingSurface( | 65 virtual bool CopyFromCompositingSurface( |
68 const gfx::Size& size, | 66 const gfx::Size& size, |
69 skia::PlatformCanvas* output) OVERRIDE; | 67 skia::PlatformCanvas* output) OVERRIDE; |
70 | 68 |
71 // RenderWidgetHostViewPort implementation. | 69 // RenderWidgetHostViewPort implementation. |
72 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 70 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
73 const gfx::Rect& pos) OVERRIDE; | 71 const gfx::Rect& pos) OVERRIDE; |
74 virtual void InitAsFullscreen( | 72 virtual void InitAsFullscreen( |
75 content::RenderWidgetHostView* reference_host_view) OVERRIDE; | 73 content::RenderWidgetHostView* reference_host_view) OVERRIDE; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 gfx::PluginWindowHandle compositing_surface_; | 279 gfx::PluginWindowHandle compositing_surface_; |
282 | 280 |
283 // The event for the last mouse down we handled. We need this for context | 281 // The event for the last mouse down we handled. We need this for context |
284 // menus and drags. | 282 // menus and drags. |
285 GdkEventButton* last_mouse_down_; | 283 GdkEventButton* last_mouse_down_; |
286 | 284 |
287 ui::GtkSignalRegistrar signals_; | 285 ui::GtkSignalRegistrar signals_; |
288 }; | 286 }; |
289 | 287 |
290 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 288 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |