| 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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 const SkBitmap::Config config) OVERRIDE; | 184 const SkBitmap::Config config) OVERRIDE; |
| 185 virtual void CopyFromCompositingSurfaceToVideoFrame( | 185 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 186 const gfx::Rect& src_subrect, | 186 const gfx::Rect& src_subrect, |
| 187 const scoped_refptr<media::VideoFrame>& target, | 187 const scoped_refptr<media::VideoFrame>& target, |
| 188 const base::Callback<void(bool)>& callback) OVERRIDE; | 188 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 189 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 189 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 190 virtual bool CanSubscribeFrame() const OVERRIDE; | 190 virtual bool CanSubscribeFrame() const OVERRIDE; |
| 191 virtual void BeginFrameSubscription( | 191 virtual void BeginFrameSubscription( |
| 192 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; | 192 scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) OVERRIDE; |
| 193 virtual void EndFrameSubscription() OVERRIDE; | 193 virtual void EndFrameSubscription() OVERRIDE; |
| 194 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | |
| 195 virtual void AcceleratedSurfaceInitialized(int host_id, | 194 virtual void AcceleratedSurfaceInitialized(int host_id, |
| 196 int route_id) OVERRIDE; | 195 int route_id) OVERRIDE; |
| 197 virtual void AcceleratedSurfaceBuffersSwapped( | 196 virtual void AcceleratedSurfaceBuffersSwapped( |
| 198 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, | 197 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, |
| 199 int gpu_host_id) OVERRIDE; | 198 int gpu_host_id) OVERRIDE; |
| 200 virtual void AcceleratedSurfacePostSubBuffer( | 199 virtual void AcceleratedSurfacePostSubBuffer( |
| 201 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, | 200 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, |
| 202 int gpu_host_id) OVERRIDE; | 201 int gpu_host_id) OVERRIDE; |
| 203 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 202 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 204 virtual void AcceleratedSurfaceRelease() OVERRIDE; | 203 virtual void AcceleratedSurfaceRelease() OVERRIDE; |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 // etc. | 562 // etc. |
| 564 scoped_ptr<content::LegacyRenderWidgetHostHWND> | 563 scoped_ptr<content::LegacyRenderWidgetHostHWND> |
| 565 legacy_render_widget_host_HWND_; | 564 legacy_render_widget_host_HWND_; |
| 566 #endif | 565 #endif |
| 567 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 566 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 568 }; | 567 }; |
| 569 | 568 |
| 570 } // namespace content | 569 } // namespace content |
| 571 | 570 |
| 572 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 571 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |