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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 223 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
224 void OnDidChangeBodyBackgroundColor(SkColor color); | 224 void OnDidChangeBodyBackgroundColor(SkColor color); |
225 void OnStartContentIntent(const GURL& content_url); | 225 void OnStartContentIntent(const GURL& content_url); |
226 void OnSetNeedsBeginFrame(bool enabled); | 226 void OnSetNeedsBeginFrame(bool enabled); |
227 void OnSmartClipDataExtracted(const base::string16& text, | 227 void OnSmartClipDataExtracted(const base::string16& text, |
228 const base::string16& html, | 228 const base::string16& html, |
229 const gfx::Rect rect); | 229 const gfx::Rect rect); |
230 | 230 |
231 bool OnTouchEvent(const ui::MotionEvent& event); | 231 bool OnTouchEvent(const ui::MotionEvent& event); |
232 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 232 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
233 void ResetGestureDetection(); | 233 void CancelActiveTouchSequence(); |
| 234 void ResetPendingInput(); |
234 void SetDoubleTapSupportEnabled(bool enabled); | 235 void SetDoubleTapSupportEnabled(bool enabled); |
235 void SetMultiTouchZoomSupportEnabled(bool enabled); | 236 void SetMultiTouchZoomSupportEnabled(bool enabled); |
236 | 237 |
237 long GetNativeImeAdapter(); | 238 long GetNativeImeAdapter(); |
238 | 239 |
239 void WasResized(); | 240 void WasResized(); |
240 | 241 |
241 void GetScaledContentBitmap( | 242 void GetScaledContentBitmap( |
242 float scale, | 243 float scale, |
243 SkColorType color_type, | 244 SkColorType color_type, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 gfx::Vector2dF last_scroll_offset_; | 422 gfx::Vector2dF last_scroll_offset_; |
422 | 423 |
423 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 424 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
424 | 425 |
425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 426 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
426 }; | 427 }; |
427 | 428 |
428 } // namespace content | 429 } // namespace content |
429 | 430 |
430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 431 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |