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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 // Non-virtual methods | 199 // Non-virtual methods |
200 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 200 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
201 SkColor GetCachedBackgroundColor() const; | 201 SkColor GetCachedBackgroundColor() const; |
202 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 202 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
203 void SendMouseEvent(const ui::MotionEventAndroid&, int changed_button); | 203 void SendMouseEvent(const ui::MotionEventAndroid&, int changed_button); |
204 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 204 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
205 void SendGestureEvent(const blink::WebGestureEvent& event); | 205 void SendGestureEvent(const blink::WebGestureEvent& event); |
206 | 206 |
207 void OnStartContentIntent(const GURL& content_url, bool is_main_frame); | 207 void OnStartContentIntent(const GURL& content_url, bool is_main_frame); |
208 void OnSmartClipDataExtracted(const base::string16& text, | |
209 const base::string16& html, | |
210 const gfx::Rect rect); | |
211 | 208 |
212 bool OnTouchEvent(const ui::MotionEvent& event); | 209 bool OnTouchEvent(const ui::MotionEvent& event); |
213 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 210 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
214 void ResetGestureDetection(); | 211 void ResetGestureDetection(); |
215 void SetDoubleTapSupportEnabled(bool enabled); | 212 void SetDoubleTapSupportEnabled(bool enabled); |
216 void SetMultiTouchZoomSupportEnabled(bool enabled); | 213 void SetMultiTouchZoomSupportEnabled(bool enabled); |
217 | 214 |
218 long GetNativeImeAdapter(); | 215 long GetNativeImeAdapter(); |
219 | 216 |
220 void WasResized(); | 217 void WasResized(); |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 gfx::Vector2dF last_scroll_offset_; | 395 gfx::Vector2dF last_scroll_offset_; |
399 | 396 |
400 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 397 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
401 | 398 |
402 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 399 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
403 }; | 400 }; |
404 | 401 |
405 } // namespace content | 402 } // namespace content |
406 | 403 |
407 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 404 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |