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 <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "gpu/command_buffer/common/mailbox.h" | 27 #include "gpu/command_buffer/common/mailbox.h" |
28 #include "third_party/skia/include/core/SkColor.h" | 28 #include "third_party/skia/include/core/SkColor.h" |
29 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 29 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
30 #include "ui/base/android/window_android_observer.h" | 30 #include "ui/base/android/window_android_observer.h" |
31 #include "ui/events/gesture_detection/filtered_gesture_provider.h" | 31 #include "ui/events/gesture_detection/filtered_gesture_provider.h" |
32 #include "ui/gfx/size.h" | 32 #include "ui/gfx/size.h" |
33 #include "ui/gfx/vector2d_f.h" | 33 #include "ui/gfx/vector2d_f.h" |
34 | 34 |
35 struct ViewHostMsg_TextInputState_Params; | 35 struct ViewHostMsg_TextInputState_Params; |
36 | 36 |
37 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | |
38 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; | |
39 | |
40 namespace cc { | 37 namespace cc { |
41 class CopyOutputResult; | 38 class CopyOutputResult; |
42 class DelegatedFrameProvider; | 39 class DelegatedFrameProvider; |
43 class DelegatedRendererLayer; | 40 class DelegatedRendererLayer; |
44 class Layer; | 41 class Layer; |
45 } | 42 } |
46 | 43 |
47 namespace blink { | 44 namespace blink { |
48 class WebExternalTextureLayer; | 45 class WebExternalTextureLayer; |
49 class WebTouchEvent; | 46 class WebTouchEvent; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; | 131 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE; |
135 virtual void RenderProcessGone(base::TerminationStatus status, | 132 virtual void RenderProcessGone(base::TerminationStatus status, |
136 int error_code) OVERRIDE; | 133 int error_code) OVERRIDE; |
137 virtual void Destroy() OVERRIDE; | 134 virtual void Destroy() OVERRIDE; |
138 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 135 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
139 virtual void SelectionChanged(const base::string16& text, | 136 virtual void SelectionChanged(const base::string16& text, |
140 size_t offset, | 137 size_t offset, |
141 const gfx::Range& range) OVERRIDE; | 138 const gfx::Range& range) OVERRIDE; |
142 virtual void SelectionBoundsChanged( | 139 virtual void SelectionBoundsChanged( |
143 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 140 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
144 virtual void AcceleratedSurfaceInitialized(int host_id, | 141 virtual void AcceleratedSurfaceInitialized(int route_id) OVERRIDE; |
145 int route_id) OVERRIDE; | |
146 virtual void AcceleratedSurfaceBuffersSwapped( | |
147 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | |
148 int gpu_host_id) OVERRIDE; | |
149 virtual void AcceleratedSurfacePostSubBuffer( | |
150 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | |
151 int gpu_host_id) OVERRIDE; | |
152 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | |
153 virtual void AcceleratedSurfaceRelease() OVERRIDE; | |
154 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 142 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
155 virtual void SetBackgroundOpaque(bool transparent) OVERRIDE; | 143 virtual void SetBackgroundOpaque(bool transparent) OVERRIDE; |
156 virtual void CopyFromCompositingSurface( | 144 virtual void CopyFromCompositingSurface( |
157 const gfx::Rect& src_subrect, | 145 const gfx::Rect& src_subrect, |
158 const gfx::Size& dst_size, | 146 const gfx::Size& dst_size, |
159 CopyFromCompositingSurfaceCallback& callback, | 147 CopyFromCompositingSurfaceCallback& callback, |
160 const SkColorType color_type) OVERRIDE; | 148 const SkColorType color_type) OVERRIDE; |
161 virtual void CopyFromCompositingSurfaceToVideoFrame( | 149 virtual void CopyFromCompositingSurfaceToVideoFrame( |
162 const gfx::Rect& src_subrect, | 150 const gfx::Rect& src_subrect, |
163 const scoped_refptr<media::VideoFrame>& target, | 151 const scoped_refptr<media::VideoFrame>& target, |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 gfx::Vector2dF last_scroll_offset_; | 415 gfx::Vector2dF last_scroll_offset_; |
428 | 416 |
429 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 417 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
430 | 418 |
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 419 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
432 }; | 420 }; |
433 | 421 |
434 } // namespace content | 422 } // namespace content |
435 | 423 |
436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 424 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |