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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 static void OnContextLost(); | 259 static void OnContextLost(); |
260 | 260 |
261 private: | 261 private: |
262 void RunAckCallbacks(cc::SurfaceDrawStatus status); | 262 void RunAckCallbacks(cc::SurfaceDrawStatus status); |
263 | 263 |
264 void DestroyDelegatedContent(); | 264 void DestroyDelegatedContent(); |
265 void CheckOutputSurfaceChanged(uint32_t output_surface_id); | 265 void CheckOutputSurfaceChanged(uint32_t output_surface_id); |
266 void SubmitCompositorFrame(cc::CompositorFrame frame_data); | 266 void SubmitCompositorFrame(cc::CompositorFrame frame_data); |
267 void SendDelegatedFrameAck(uint32_t output_surface_id); | 267 void SendDelegatedFrameAck(uint32_t output_surface_id); |
268 void SendReturnedDelegatedResources(uint32_t output_surface_id); | |
269 | 268 |
270 void OnFrameMetadataUpdated( | 269 void OnFrameMetadataUpdated( |
271 const cc::CompositorFrameMetadata& frame_metadata); | 270 const cc::CompositorFrameMetadata& frame_metadata); |
272 | 271 |
273 void ShowInternal(); | 272 void ShowInternal(); |
274 void HideInternal(); | 273 void HideInternal(); |
275 void AttachLayers(); | 274 void AttachLayers(); |
276 void RemoveLayers(); | 275 void RemoveLayers(); |
277 | 276 |
278 void UpdateBackgroundColor(SkColor color); | 277 void UpdateBackgroundColor(SkColor color); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 gfx::Vector2dF last_scroll_offset_; | 400 gfx::Vector2dF last_scroll_offset_; |
402 | 401 |
403 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 402 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
404 | 403 |
405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 404 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
406 }; | 405 }; |
407 | 406 |
408 } // namespace content | 407 } // namespace content |
409 | 408 |
410 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |