| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 205 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 206 SkColor GetCachedBackgroundColor() const; | 206 SkColor GetCachedBackgroundColor() const; |
| 207 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 207 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 208 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 208 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
| 209 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 209 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
| 210 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); | 210 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); |
| 211 void SendGestureEvent(const WebKit::WebGestureEvent& event); | 211 void SendGestureEvent(const WebKit::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 OnProcessImeBatchStateAck(bool is_begin); | |
| 216 void OnDidChangeBodyBackgroundColor(SkColor color); | 215 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 217 void OnStartContentIntent(const GURL& content_url); | 216 void OnStartContentIntent(const GURL& content_url); |
| 218 void OnSetNeedsBeginFrame(bool enabled); | 217 void OnSetNeedsBeginFrame(bool enabled); |
| 219 | 218 |
| 220 int GetNativeImeAdapter(); | 219 int GetNativeImeAdapter(); |
| 221 | 220 |
| 222 void WasResized(); | 221 void WasResized(); |
| 223 | 222 |
| 224 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); | 223 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); |
| 225 bool PopulateBitmapWithContents(jobject jbitmap); | 224 bool PopulateBitmapWithContents(jobject jbitmap); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 scoped_ptr<OverscrollGlow> overscroll_effect_; | 330 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 332 | 331 |
| 333 bool flush_input_requested_; | 332 bool flush_input_requested_; |
| 334 | 333 |
| 335 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 334 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 336 }; | 335 }; |
| 337 | 336 |
| 338 } // namespace content | 337 } // namespace content |
| 339 | 338 |
| 340 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 339 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |