| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 SkColor GetCachedBackgroundColor() const; | 199 SkColor GetCachedBackgroundColor() const; |
| 200 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 200 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 201 void SendTouchEvent(const blink::WebTouchEvent& event); | 201 void SendTouchEvent(const blink::WebTouchEvent& event); |
| 202 void SendMouseEvent(const blink::WebMouseEvent& event); | 202 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 203 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 203 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 204 void SendGestureEvent(const blink::WebGestureEvent& event); | 204 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 205 | 205 |
| 206 void OnDidChangeBodyBackgroundColor(SkColor color); | 206 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 207 void OnStartContentIntent(const GURL& content_url); | 207 void OnStartContentIntent(const GURL& content_url); |
| 208 void OnSetNeedsBeginFrame(bool enabled); | 208 void OnSetNeedsBeginFrame(bool enabled); |
| 209 void OnSmartClipDataExtracted(const base::string16& result, | 209 void OnSmartClipDataExtracted(const base::string16& text, |
| 210 const base::string16& html, |
| 210 const gfx::Rect rect); | 211 const gfx::Rect rect); |
| 211 | 212 |
| 212 bool OnTouchEvent(const ui::MotionEvent& event); | 213 bool OnTouchEvent(const ui::MotionEvent& event); |
| 213 void ResetGestureDetection(); | 214 void ResetGestureDetection(); |
| 214 void SetDoubleTapSupportEnabled(bool enabled); | 215 void SetDoubleTapSupportEnabled(bool enabled); |
| 215 void SetMultiTouchZoomSupportEnabled(bool enabled); | 216 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 216 | 217 |
| 217 long GetNativeImeAdapter(); | 218 long GetNativeImeAdapter(); |
| 218 | 219 |
| 219 void WasResized(); | 220 void WasResized(); |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 scoped_ptr<LastFrameInfo> last_frame_info_; | 372 scoped_ptr<LastFrameInfo> last_frame_info_; |
| 372 | 373 |
| 373 TextSurroundingSelectionCallback text_surrounding_selection_callback_; | 374 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
| 374 | 375 |
| 375 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 376 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 376 }; | 377 }; |
| 377 | 378 |
| 378 } // namespace content | 379 } // namespace content |
| 379 | 380 |
| 380 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 381 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |