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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 209 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
210 SkColor GetCachedBackgroundColor() const; | 210 SkColor GetCachedBackgroundColor() const; |
211 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 211 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
212 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 212 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
213 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 213 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
214 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); | 214 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); |
215 void SendGestureEvent(const WebKit::WebGestureEvent& event); | 215 void SendGestureEvent(const WebKit::WebGestureEvent& event); |
216 void SendBeginFrame(const cc::BeginFrameArgs& args); | 216 void SendBeginFrame(const cc::BeginFrameArgs& args); |
217 | 217 |
218 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 218 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
| 219 void OnFocusedNodeChanged(bool is_editable_node); |
219 void OnDidChangeBodyBackgroundColor(SkColor color); | 220 void OnDidChangeBodyBackgroundColor(SkColor color); |
220 void OnStartContentIntent(const GURL& content_url); | 221 void OnStartContentIntent(const GURL& content_url); |
221 void OnSetNeedsBeginFrame(bool enabled); | 222 void OnSetNeedsBeginFrame(bool enabled); |
222 | 223 |
223 int GetNativeImeAdapter(); | 224 int GetNativeImeAdapter(); |
224 | 225 |
225 void WasResized(); | 226 void WasResized(); |
226 | 227 |
227 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); | 228 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); |
228 bool PopulateBitmapWithContents(jobject jbitmap); | 229 bool PopulateBitmapWithContents(jobject jbitmap); |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 scoped_ptr<OverscrollGlow> overscroll_effect_; | 337 scoped_ptr<OverscrollGlow> overscroll_effect_; |
337 | 338 |
338 bool flush_input_requested_; | 339 bool flush_input_requested_; |
339 | 340 |
340 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 341 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
341 }; | 342 }; |
342 | 343 |
343 } // namespace content | 344 } // namespace content |
344 | 345 |
345 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 346 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |