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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 virtual void AccessibilityScrollToPoint( | 173 virtual void AccessibilityScrollToPoint( |
174 int acc_obj_id, gfx::Point point) OVERRIDE; | 174 int acc_obj_id, gfx::Point point) OVERRIDE; |
175 virtual void AccessibilitySetTextSelection( | 175 virtual void AccessibilitySetTextSelection( |
176 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; | 176 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; |
177 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; | 177 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; |
178 virtual void FatalAccessibilityTreeError() OVERRIDE; | 178 virtual void FatalAccessibilityTreeError() OVERRIDE; |
179 | 179 |
180 // cc::TextureLayerClient implementation. | 180 // cc::TextureLayerClient implementation. |
181 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; | 181 virtual unsigned PrepareTexture(cc::ResourceUpdateQueue* queue) OVERRIDE; |
182 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; | 182 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; |
183 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox) OVERRIDE; | 183 virtual bool PrepareTextureMailbox(cc::TextureMailbox* mailbox, |
| 184 bool use_shared_memory) OVERRIDE; |
184 | 185 |
185 // cc::DelegatedRendererLayerClient implementation. | 186 // cc::DelegatedRendererLayerClient implementation. |
186 virtual void DidCommitFrameData() OVERRIDE; | 187 virtual void DidCommitFrameData() OVERRIDE; |
187 | 188 |
188 // Non-virtual methods | 189 // Non-virtual methods |
189 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 190 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
190 SkColor GetCachedBackgroundColor() const; | 191 SkColor GetCachedBackgroundColor() const; |
191 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 192 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
192 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 193 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
193 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 194 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 // Used to render overscroll overlays. | 300 // Used to render overscroll overlays. |
300 bool overscroll_effect_enabled_; | 301 bool overscroll_effect_enabled_; |
301 scoped_ptr<OverscrollGlow> overscroll_effect_; | 302 scoped_ptr<OverscrollGlow> overscroll_effect_; |
302 | 303 |
303 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 304 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
304 }; | 305 }; |
305 | 306 |
306 } // namespace content | 307 } // namespace content |
307 | 308 |
308 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 309 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |