| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 SkColor GetCachedBackgroundColor() const; | 191 SkColor GetCachedBackgroundColor() const; |
| 192 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 192 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 193 void SendTouchEvent(const blink::WebTouchEvent& event); | 193 void SendTouchEvent(const blink::WebTouchEvent& event); |
| 194 void SendMouseEvent(const blink::WebMouseEvent& event); | 194 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 195 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 195 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 196 void SendGestureEvent(const blink::WebGestureEvent& event); | 196 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 197 | 197 |
| 198 void OnDidChangeBodyBackgroundColor(SkColor color); | 198 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 199 void OnStartContentIntent(const GURL& content_url); | 199 void OnStartContentIntent(const GURL& content_url); |
| 200 void OnSetNeedsBeginFrame(bool enabled); | 200 void OnSetNeedsBeginFrame(bool enabled); |
| 201 void OnSmartClipDataExtracted(const base::string16& result); | 201 void OnSmartClipDataExtracted(const base::string16& result, |
| 202 const gfx::Rect rect); |
| 202 | 203 |
| 203 bool OnTouchEvent(const ui::MotionEvent& event); | 204 bool OnTouchEvent(const ui::MotionEvent& event); |
| 204 void ResetGestureDetection(); | 205 void ResetGestureDetection(); |
| 205 void SetDoubleTapSupportEnabled(bool enabled); | 206 void SetDoubleTapSupportEnabled(bool enabled); |
| 206 void SetMultiTouchZoomSupportEnabled(bool enabled); | 207 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 207 | 208 |
| 208 long GetNativeImeAdapter(); | 209 long GetNativeImeAdapter(); |
| 209 | 210 |
| 210 void WasResized(); | 211 void WasResized(); |
| 211 | 212 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 scoped_ptr<LastFrameInfo> last_frame_info_; | 360 scoped_ptr<LastFrameInfo> last_frame_info_; |
| 360 | 361 |
| 361 TextSurroundingSelectionCallback text_surrounding_selection_callback_; | 362 TextSurroundingSelectionCallback text_surrounding_selection_callback_; |
| 362 | 363 |
| 363 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 364 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 364 }; | 365 }; |
| 365 | 366 |
| 366 } // namespace content | 367 } // namespace content |
| 367 | 368 |
| 368 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 369 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |