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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 216 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
217 SkColor GetCachedBackgroundColor() const; | 217 SkColor GetCachedBackgroundColor() const; |
218 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 218 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
219 void SendMouseEvent(const blink::WebMouseEvent& event); | 219 void SendMouseEvent(const blink::WebMouseEvent& event); |
220 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 220 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
221 void SendGestureEvent(const blink::WebGestureEvent& event); | 221 void SendGestureEvent(const blink::WebGestureEvent& event); |
222 | 222 |
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 OnSetNeedsBeginFrames(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 ResetGestureDetection(); |
234 void SetDoubleTapSupportEnabled(bool enabled); | 234 void SetDoubleTapSupportEnabled(bool enabled); |
235 void SetMultiTouchZoomSupportEnabled(bool enabled); | 235 void SetMultiTouchZoomSupportEnabled(bool enabled); |
236 | 236 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 gfx::Vector2dF last_scroll_offset_; | 421 gfx::Vector2dF last_scroll_offset_; |
422 | 422 |
423 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 423 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
424 | 424 |
425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 425 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
426 }; | 426 }; |
427 | 427 |
428 } // namespace content | 428 } // namespace content |
429 | 429 |
430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |