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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 203 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
204 SkColor GetCachedBackgroundColor() const; | 204 SkColor GetCachedBackgroundColor() const; |
205 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 205 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
206 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 206 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
207 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 207 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
208 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); | 208 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); |
209 void SendGestureEvent(const WebKit::WebGestureEvent& event); | 209 void SendGestureEvent(const WebKit::WebGestureEvent& event); |
210 void SendBeginFrame(const cc::BeginFrameArgs& args); | 210 void SendBeginFrame(const cc::BeginFrameArgs& args); |
211 | 211 |
212 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 212 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
213 void OnProcessImeBatchStateAck(bool is_begin); | |
214 void OnDidChangeBodyBackgroundColor(SkColor color); | 213 void OnDidChangeBodyBackgroundColor(SkColor color); |
215 void OnStartContentIntent(const GURL& content_url); | 214 void OnStartContentIntent(const GURL& content_url); |
216 void OnSetNeedsBeginFrame(bool enabled); | 215 void OnSetNeedsBeginFrame(bool enabled); |
217 | 216 |
218 int GetNativeImeAdapter(); | 217 int GetNativeImeAdapter(); |
219 | 218 |
220 void WasResized(); | 219 void WasResized(); |
221 | 220 |
222 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); | 221 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); |
223 bool PopulateBitmapWithContents(jobject jbitmap); | 222 bool PopulateBitmapWithContents(jobject jbitmap); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 // Used to render overscroll overlays. | 326 // Used to render overscroll overlays. |
328 bool overscroll_effect_enabled_; | 327 bool overscroll_effect_enabled_; |
329 scoped_ptr<OverscrollGlow> overscroll_effect_; | 328 scoped_ptr<OverscrollGlow> overscroll_effect_; |
330 | 329 |
331 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 330 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
332 }; | 331 }; |
333 | 332 |
334 } // namespace content | 333 } // namespace content |
335 | 334 |
336 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 335 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |