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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 size_t offset, | 91 size_t offset, |
92 const ui::Range& range) OVERRIDE; | 92 const ui::Range& range) OVERRIDE; |
93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
94 const gfx::Rect& end_rect) OVERRIDE; | 94 const gfx::Rect& end_rect) OVERRIDE; |
95 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 95 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
97 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 97 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
98 virtual void AcceleratedSurfaceBuffersSwapped( | 98 virtual void AcceleratedSurfaceBuffersSwapped( |
99 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 99 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
100 int gpu_host_id) OVERRIDE; | 100 int gpu_host_id) OVERRIDE; |
| 101 virtual void AcceleratedSurfacePostSubBuffer( |
| 102 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 103 int gpu_host_id) OVERRIDE; |
101 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 104 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
102 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 105 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
103 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 106 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
104 virtual void SetVisuallyDeemphasized(const SkColor* color, | 107 virtual void SetVisuallyDeemphasized(const SkColor* color, |
105 bool animate) OVERRIDE; | 108 bool animate) OVERRIDE; |
106 virtual void UnhandledWheelEvent( | 109 virtual void UnhandledWheelEvent( |
107 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 110 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
108 virtual void SetHasHorizontalScrollbar( | 111 virtual void SetHasHorizontalScrollbar( |
109 bool has_horizontal_scrollbar) OVERRIDE; | 112 bool has_horizontal_scrollbar) OVERRIDE; |
110 virtual void SetScrollOffsetPinning( | 113 virtual void SetScrollOffsetPinning( |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 309 |
307 #if defined(OS_CHROMEOS) | 310 #if defined(OS_CHROMEOS) |
308 // Custimized tooltip window. | 311 // Custimized tooltip window. |
309 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; | 312 scoped_ptr<ui::TooltipWindowGtk> tooltip_window_; |
310 #endif // defined(OS_CHROMEOS) | 313 #endif // defined(OS_CHROMEOS) |
311 | 314 |
312 ui::GtkSignalRegistrar signals_; | 315 ui::GtkSignalRegistrar signals_; |
313 }; | 316 }; |
314 | 317 |
315 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 318 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |