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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual void AcceleratedSurfacePostSubBuffer( | 87 virtual void AcceleratedSurfacePostSubBuffer( |
88 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 88 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
89 int gpu_host_id) OVERRIDE; | 89 int gpu_host_id) OVERRIDE; |
90 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 90 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
91 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 91 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
92 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 92 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
93 virtual void CopyFromCompositingSurface( | 93 virtual void CopyFromCompositingSurface( |
94 const gfx::Rect& src_subrect, | 94 const gfx::Rect& src_subrect, |
95 const gfx::Size& dst_size, | 95 const gfx::Size& dst_size, |
96 const base::Callback<void(bool)>& callback, | 96 const base::Callback<void(bool)>& callback, |
97 skia::PlatformCanvas* output) OVERRIDE; | 97 skia::PlatformBitmap* output) OVERRIDE; |
98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
99 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 99 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
100 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 100 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
101 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 101 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
102 virtual void UnhandledWheelEvent( | 102 virtual void UnhandledWheelEvent( |
103 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 103 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
104 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 104 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
105 bool processed) OVERRIDE; | 105 bool processed) OVERRIDE; |
106 virtual void SetHasHorizontalScrollbar( | 106 virtual void SetHasHorizontalScrollbar( |
107 bool has_horizontal_scrollbar) OVERRIDE; | 107 bool has_horizontal_scrollbar) OVERRIDE; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // The handle for the transport surface (between renderer and browser-side | 157 // The handle for the transport surface (between renderer and browser-side |
158 // compositor) for this view. | 158 // compositor) for this view. |
159 gfx::GLSurfaceHandle shared_surface_; | 159 gfx::GLSurfaceHandle shared_surface_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 161 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
165 | 165 |
166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 166 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |