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 12 matching lines...) Expand all Loading... |
23 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 23 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
24 #include "gpu/command_buffer/common/mailbox.h" | 24 #include "gpu/command_buffer/common/mailbox.h" |
25 #include "third_party/skia/include/core/SkColor.h" | 25 #include "third_party/skia/include/core/SkColor.h" |
26 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 26 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
27 #include "ui/base/android/window_android_observer.h" | 27 #include "ui/base/android/window_android_observer.h" |
28 #include "ui/events/gesture_detection/filtered_gesture_provider.h" | 28 #include "ui/events/gesture_detection/filtered_gesture_provider.h" |
29 #include "ui/gfx/size.h" | 29 #include "ui/gfx/size.h" |
30 #include "ui/gfx/vector2d_f.h" | 30 #include "ui/gfx/vector2d_f.h" |
31 | 31 |
32 struct ViewHostMsg_TextInputState_Params; | 32 struct ViewHostMsg_TextInputState_Params; |
| 33 struct ViewHostMsg_SmartClip_Params; |
33 | 34 |
34 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | 35 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
35 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; | 36 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
36 | 37 |
37 namespace cc { | 38 namespace cc { |
38 class CopyOutputResult; | 39 class CopyOutputResult; |
39 class DelegatedFrameProvider; | 40 class DelegatedFrameProvider; |
40 class DelegatedRendererLayer; | 41 class DelegatedRendererLayer; |
41 class Layer; | 42 class Layer; |
42 } | 43 } |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 void SendTouchEvent(const blink::WebTouchEvent& event); | 198 void SendTouchEvent(const blink::WebTouchEvent& event); |
198 void SendMouseEvent(const blink::WebMouseEvent& event); | 199 void SendMouseEvent(const blink::WebMouseEvent& event); |
199 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 200 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
200 void SendGestureEvent(const blink::WebGestureEvent& event); | 201 void SendGestureEvent(const blink::WebGestureEvent& event); |
201 | 202 |
202 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 203 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
203 void OnDidChangeBodyBackgroundColor(SkColor color); | 204 void OnDidChangeBodyBackgroundColor(SkColor color); |
204 void OnDidOverscroll(const DidOverscrollParams& params); | 205 void OnDidOverscroll(const DidOverscrollParams& params); |
205 void OnStartContentIntent(const GURL& content_url); | 206 void OnStartContentIntent(const GURL& content_url); |
206 void OnSetNeedsBeginFrame(bool enabled); | 207 void OnSetNeedsBeginFrame(bool enabled); |
207 void OnSmartClipDataExtracted(const base::string16& result); | 208 void OnSmartClipDataExtracted(const ViewHostMsg_SmartClip_Params& params); |
208 | 209 |
209 bool OnTouchEvent(const ui::MotionEvent& event); | 210 bool OnTouchEvent(const ui::MotionEvent& event); |
210 void ResetGestureDetection(); | 211 void ResetGestureDetection(); |
211 void SetDoubleTapSupportEnabled(bool enabled); | 212 void SetDoubleTapSupportEnabled(bool enabled); |
212 void SetMultiTouchZoomSupportEnabled(bool enabled); | 213 void SetMultiTouchZoomSupportEnabled(bool enabled); |
213 | 214 |
214 long GetNativeImeAdapter(); | 215 long GetNativeImeAdapter(); |
215 | 216 |
216 void WasResized(); | 217 void WasResized(); |
217 | 218 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 }; | 356 }; |
356 | 357 |
357 scoped_ptr<LastFrameInfo> last_frame_info_; | 358 scoped_ptr<LastFrameInfo> last_frame_info_; |
358 | 359 |
359 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
360 }; | 361 }; |
361 | 362 |
362 } // namespace content | 363 } // namespace content |
363 | 364 |
364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |