| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // GestureTextSelectorClient implementation. | 217 // GestureTextSelectorClient implementation. |
| 218 virtual void ShowSelectionHandlesAutomatically() OVERRIDE; | 218 virtual void ShowSelectionHandlesAutomatically() OVERRIDE; |
| 219 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE; | 219 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE; |
| 220 virtual void Unselect() OVERRIDE; | 220 virtual void Unselect() OVERRIDE; |
| 221 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE; | 221 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE; |
| 222 | 222 |
| 223 // Non-virtual methods | 223 // Non-virtual methods |
| 224 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 224 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 225 SkColor GetCachedBackgroundColor() const; | 225 SkColor GetCachedBackgroundColor() const; |
| 226 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 226 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 227 void SendTouchEvent(const blink::WebTouchEvent& event); | |
| 228 void SendMouseEvent(const blink::WebMouseEvent& event); | 227 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 229 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 228 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 230 void SendGestureEvent(const blink::WebGestureEvent& event); | 229 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 231 | 230 |
| 232 void OnDidChangeBodyBackgroundColor(SkColor color); | 231 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 233 void OnStartContentIntent(const GURL& content_url); | 232 void OnStartContentIntent(const GURL& content_url); |
| 234 void OnSetNeedsBeginFrame(bool enabled); | 233 void OnSetNeedsBeginFrame(bool enabled); |
| 235 void OnSmartClipDataExtracted(const base::string16& text, | 234 void OnSmartClipDataExtracted(const base::string16& text, |
| 236 const base::string16& html, | 235 const base::string16& html, |
| 237 const gfx::Rect rect); | 236 const gfx::Rect rect); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 427 |
| 429 // List of readbackrequests waiting for arrival of a valid frame. | 428 // List of readbackrequests waiting for arrival of a valid frame. |
| 430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; | 429 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; |
| 431 | 430 |
| 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 433 }; | 432 }; |
| 434 | 433 |
| 435 } // namespace content | 434 } // namespace content |
| 436 | 435 |
| 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |