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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 virtual void OnCompositingDidCommit() OVERRIDE; | 194 virtual void OnCompositingDidCommit() OVERRIDE; |
195 virtual void OnAttachCompositor() OVERRIDE {} | 195 virtual void OnAttachCompositor() OVERRIDE {} |
196 virtual void OnDetachCompositor() OVERRIDE; | 196 virtual void OnDetachCompositor() OVERRIDE; |
197 | 197 |
198 // ImageTransportFactoryAndroidObserver implementation. | 198 // ImageTransportFactoryAndroidObserver implementation. |
199 virtual void OnLostResources() OVERRIDE; | 199 virtual void OnLostResources() OVERRIDE; |
200 | 200 |
201 // DelegatedFrameEvictor implementation | 201 // DelegatedFrameEvictor implementation |
202 virtual void EvictDelegatedFrame() OVERRIDE; | 202 virtual void EvictDelegatedFrame() OVERRIDE; |
203 | 203 |
| 204 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 205 |
204 // Non-virtual methods | 206 // Non-virtual methods |
205 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 207 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
206 SkColor GetCachedBackgroundColor() const; | 208 SkColor GetCachedBackgroundColor() const; |
207 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 209 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
208 void SendTouchEvent(const blink::WebTouchEvent& event); | 210 void SendTouchEvent(const blink::WebTouchEvent& event); |
209 void SendMouseEvent(const blink::WebMouseEvent& event); | 211 void SendMouseEvent(const blink::WebMouseEvent& event); |
210 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 212 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
211 void SendGestureEvent(const blink::WebGestureEvent& event); | 213 void SendGestureEvent(const blink::WebGestureEvent& event); |
212 void SendBeginFrame(const cc::BeginFrameArgs& args); | 214 void SendBeginFrame(const cc::BeginFrameArgs& args); |
213 | 215 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; | 360 scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |
359 | 361 |
360 bool using_delegated_renderer_; | 362 bool using_delegated_renderer_; |
361 | 363 |
362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 364 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
363 }; | 365 }; |
364 | 366 |
365 } // namespace content | 367 } // namespace content |
366 | 368 |
367 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 369 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |