| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 212 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 213 SkColor GetCachedBackgroundColor() const; | 213 SkColor GetCachedBackgroundColor() const; |
| 214 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 214 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 215 void SendMouseEvent(const blink::WebMouseEvent& event); | 215 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 216 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 216 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 217 void SendGestureEvent(const blink::WebGestureEvent& event); | 217 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 218 | 218 |
| 219 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 219 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
| 220 void OnDidChangeBodyBackgroundColor(SkColor color); | 220 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 221 void OnStartContentIntent(const GURL& content_url); | 221 void OnStartContentIntent(const GURL& content_url); |
| 222 void OnSetNeedsBeginFrame(bool enabled); | 222 void OnSetNeedsBeginFrames(bool enabled); |
| 223 void OnSmartClipDataExtracted(const base::string16& text, | 223 void OnSmartClipDataExtracted(const base::string16& text, |
| 224 const base::string16& html, | 224 const base::string16& html, |
| 225 const gfx::Rect rect); | 225 const gfx::Rect rect); |
| 226 | 226 |
| 227 bool OnTouchEvent(const ui::MotionEvent& event); | 227 bool OnTouchEvent(const ui::MotionEvent& event); |
| 228 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 228 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
| 229 void ResetGestureDetection(); | 229 void ResetGestureDetection(); |
| 230 void SetDoubleTapSupportEnabled(bool enabled); | 230 void SetDoubleTapSupportEnabled(bool enabled); |
| 231 void SetMultiTouchZoomSupportEnabled(bool enabled); | 231 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 232 | 232 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 gfx::Vector2dF last_scroll_offset_; | 416 gfx::Vector2dF last_scroll_offset_; |
| 417 | 417 |
| 418 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 418 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 419 | 419 |
| 420 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 420 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 421 }; | 421 }; |
| 422 | 422 |
| 423 } // namespace content | 423 } // namespace content |
| 424 | 424 |
| 425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |