| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void SendTouchEvent(const blink::WebTouchEvent& event); | 208 void SendTouchEvent(const blink::WebTouchEvent& event); |
| 209 void SendMouseEvent(const blink::WebMouseEvent& event); | 209 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 210 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 210 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 211 void SendGestureEvent(const blink::WebGestureEvent& event); | 211 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 212 void SendBeginFrame(const cc::BeginFrameArgs& args); | 212 void SendBeginFrame(const cc::BeginFrameArgs& args); |
| 213 | 213 |
| 214 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 214 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
| 215 void OnDidChangeBodyBackgroundColor(SkColor color); | 215 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 216 void OnStartContentIntent(const GURL& content_url); | 216 void OnStartContentIntent(const GURL& content_url); |
| 217 void OnSetNeedsBeginFrame(bool enabled); | 217 void OnSetNeedsBeginFrame(bool enabled); |
| 218 void OnSmartClipDataExtracted(const string16& result); | 218 void OnSmartClipDataExtracted(const base::string16& result); |
| 219 | 219 |
| 220 void LockResources(); | 220 void LockResources(); |
| 221 void UnlockResources(); | 221 void UnlockResources(); |
| 222 | 222 |
| 223 int GetNativeImeAdapter(); | 223 int GetNativeImeAdapter(); |
| 224 | 224 |
| 225 void WasResized(); | 225 void WasResized(); |
| 226 | 226 |
| 227 blink::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); | 227 blink::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); |
| 228 bool PopulateBitmapWithContents(jobject jbitmap); | 228 bool PopulateBitmapWithContents(jobject jbitmap); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 const bool using_synchronous_compositor_; | 350 const bool using_synchronous_compositor_; |
| 351 | 351 |
| 352 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 352 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
| 353 | 353 |
| 354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 } // namespace content | 357 } // namespace content |
| 358 | 358 |
| 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |