| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 // Used to render overscroll overlays. | 297 // Used to render overscroll overlays. |
| 297 bool overscroll_effect_enabled_; | 298 bool overscroll_effect_enabled_; |
| 298 scoped_ptr<OverscrollGlow> overscroll_effect_; | 299 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 299 | 300 |
| 300 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 301 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 301 }; | 302 }; |
| 302 | 303 |
| 303 } // namespace content | 304 } // namespace content |
| 304 | 305 |
| 305 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 306 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |