| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // cc::TextureLayerClient implementation. | 188 // cc::TextureLayerClient implementation. |
| 189 virtual unsigned PrepareTexture() OVERRIDE; | 189 virtual unsigned PrepareTexture() OVERRIDE; |
| 190 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; | 190 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; |
| 191 virtual bool PrepareTextureMailbox( | 191 virtual bool PrepareTextureMailbox( |
| 192 cc::TextureMailbox* mailbox, | 192 cc::TextureMailbox* mailbox, |
| 193 scoped_ptr<cc::SingleReleaseCallback>* release_callback, | 193 scoped_ptr<cc::SingleReleaseCallback>* release_callback, |
| 194 bool use_shared_memory) OVERRIDE; | 194 bool use_shared_memory) OVERRIDE; |
| 195 | 195 |
| 196 // cc::DelegatedRendererLayerClient implementation. | 196 // cc::DelegatedRendererLayerClient implementation. |
| 197 virtual void DidCommitFrameData() OVERRIDE; | 197 virtual void DidCommitFrameData() OVERRIDE; |
| 198 virtual void UnusedResourcesAreAvailable() OVERRIDE {} |
| 198 | 199 |
| 199 // ImageTransportFactoryAndroidObserver implementation. | 200 // ImageTransportFactoryAndroidObserver implementation. |
| 200 virtual void OnLostResources() OVERRIDE; | 201 virtual void OnLostResources() OVERRIDE; |
| 201 | 202 |
| 202 // Non-virtual methods | 203 // Non-virtual methods |
| 203 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 204 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 204 SkColor GetCachedBackgroundColor() const; | 205 SkColor GetCachedBackgroundColor() const; |
| 205 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 206 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 206 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 207 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
| 207 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 208 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // Used to render overscroll overlays. | 328 // Used to render overscroll overlays. |
| 328 bool overscroll_effect_enabled_; | 329 bool overscroll_effect_enabled_; |
| 329 scoped_ptr<OverscrollGlow> overscroll_effect_; | 330 scoped_ptr<OverscrollGlow> overscroll_effect_; |
| 330 | 331 |
| 331 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 332 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 332 }; | 333 }; |
| 333 | 334 |
| 334 } // namespace content | 335 } // namespace content |
| 335 | 336 |
| 336 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 337 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |