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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 103 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
104 virtual void AcceleratedSurfaceBuffersSwapped( | 104 virtual void AcceleratedSurfaceBuffersSwapped( |
105 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 105 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
106 int gpu_host_id) OVERRIDE; | 106 int gpu_host_id) OVERRIDE; |
107 virtual void AcceleratedSurfacePostSubBuffer( | 107 virtual void AcceleratedSurfacePostSubBuffer( |
108 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 108 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
109 int gpu_host_id) OVERRIDE; | 109 int gpu_host_id) OVERRIDE; |
110 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 110 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
111 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 111 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
112 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 112 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
113 virtual void ProcessTouchAck(bool processed) OVERRIDE; | 113 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 114 bool processed) OVERRIDE; |
114 virtual void SetHasHorizontalScrollbar( | 115 virtual void SetHasHorizontalScrollbar( |
115 bool has_horizontal_scrollbar) OVERRIDE; | 116 bool has_horizontal_scrollbar) OVERRIDE; |
116 virtual void SetScrollOffsetPinning( | 117 virtual void SetScrollOffsetPinning( |
117 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 118 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
118 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 119 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
119 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 120 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
120 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 121 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
121 virtual bool LockMouse() OVERRIDE; | 122 virtual bool LockMouse() OVERRIDE; |
122 virtual void UnlockMouse() OVERRIDE; | 123 virtual void UnlockMouse() OVERRIDE; |
123 | 124 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 290 |
290 #if defined(OS_CHROMEOS) | 291 #if defined(OS_CHROMEOS) |
291 // Custimized tooltip window. | 292 // Custimized tooltip window. |
292 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 293 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
293 #endif // defined(OS_CHROMEOS) | 294 #endif // defined(OS_CHROMEOS) |
294 | 295 |
295 ui::GtkSignalRegistrar signals_; | 296 ui::GtkSignalRegistrar signals_; |
296 }; | 297 }; |
297 | 298 |
298 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 299 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |