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> |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void SelectionBoundsChanged( | 97 virtual void SelectionBoundsChanged( |
98 const gfx::Rect& start_rect, | 98 const gfx::Rect& start_rect, |
99 WebKit::WebTextDirection start_direction, | 99 WebKit::WebTextDirection start_direction, |
100 const gfx::Rect& end_rect, | 100 const gfx::Rect& end_rect, |
101 WebKit::WebTextDirection end_direction) OVERRIDE; | 101 WebKit::WebTextDirection end_direction) OVERRIDE; |
102 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 102 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
103 virtual void CopyFromCompositingSurface( | 103 virtual void CopyFromCompositingSurface( |
104 const gfx::Rect& src_subrect, | 104 const gfx::Rect& src_subrect, |
105 const gfx::Size& dst_size, | 105 const gfx::Size& dst_size, |
106 const base::Callback<void(bool)>& callback, | 106 const base::Callback<void(bool)>& callback, |
107 skia::PlatformCanvas* output) OVERRIDE; | 107 skia::PlatformBitmap* output) OVERRIDE; |
108 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 108 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
109 virtual void AcceleratedSurfaceBuffersSwapped( | 109 virtual void AcceleratedSurfaceBuffersSwapped( |
110 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 110 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
111 int gpu_host_id) OVERRIDE; | 111 int gpu_host_id) OVERRIDE; |
112 virtual void AcceleratedSurfacePostSubBuffer( | 112 virtual void AcceleratedSurfacePostSubBuffer( |
113 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 113 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
114 int gpu_host_id) OVERRIDE; | 114 int gpu_host_id) OVERRIDE; |
115 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 115 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
116 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 116 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
117 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 117 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // Instance of accessibility information for the root of the AtkObject | 317 // Instance of accessibility information for the root of the AtkObject |
318 // tree representation of the WebKit render tree. | 318 // tree representation of the WebKit render tree. |
319 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 319 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
320 | 320 |
321 ui::GtkSignalRegistrar signals_; | 321 ui::GtkSignalRegistrar signals_; |
322 }; | 322 }; |
323 | 323 |
324 } // namespace content | 324 } // namespace content |
325 | 325 |
326 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 326 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |