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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 void SendTouchEvent(const blink::WebTouchEvent& event); | 196 void SendTouchEvent(const blink::WebTouchEvent& event); |
197 void SendMouseEvent(const blink::WebMouseEvent& event); | 197 void SendMouseEvent(const blink::WebMouseEvent& event); |
198 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 198 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
199 void SendGestureEvent(const blink::WebGestureEvent& event); | 199 void SendGestureEvent(const blink::WebGestureEvent& event); |
200 | 200 |
201 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 201 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
202 void OnDidChangeBodyBackgroundColor(SkColor color); | 202 void OnDidChangeBodyBackgroundColor(SkColor color); |
203 void OnDidOverscroll(const DidOverscrollParams& params); | 203 void OnDidOverscroll(const DidOverscrollParams& params); |
204 void OnStartContentIntent(const GURL& content_url); | 204 void OnStartContentIntent(const GURL& content_url); |
205 void OnSetNeedsBeginFrame(bool enabled); | 205 void OnSetNeedsBeginFrame(bool enabled); |
206 void OnSmartClipDataExtracted(const base::string16& result); | 206 void OnSmartClipDataExtracted(const base::string16 result, |
| 207 const gfx::Rect rect); |
207 | 208 |
208 bool OnTouchEvent(const ui::MotionEvent& event); | 209 bool OnTouchEvent(const ui::MotionEvent& event); |
209 void ResetGestureDetection(); | 210 void ResetGestureDetection(); |
210 void SetDoubleTapSupportEnabled(bool enabled); | 211 void SetDoubleTapSupportEnabled(bool enabled); |
211 void SetMultiTouchZoomSupportEnabled(bool enabled); | 212 void SetMultiTouchZoomSupportEnabled(bool enabled); |
212 | 213 |
213 long GetNativeImeAdapter(); | 214 long GetNativeImeAdapter(); |
214 | 215 |
215 void WasResized(); | 216 void WasResized(); |
216 | 217 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 }; | 355 }; |
355 | 356 |
356 scoped_ptr<LastFrameInfo> last_frame_info_; | 357 scoped_ptr<LastFrameInfo> last_frame_info_; |
357 | 358 |
358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 359 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
359 }; | 360 }; |
360 | 361 |
361 } // namespace content | 362 } // namespace content |
362 | 363 |
363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |