| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 const SkBitmap::Config config, | 498 const SkBitmap::Config config, |
| 499 const base::Callback<void(bool, const SkBitmap&)>& callback, | 499 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 500 scoped_ptr<cc::CopyOutputResult> result); | 500 scoped_ptr<cc::CopyOutputResult> result); |
| 501 static void PrepareTextureCopyOutputResult( | 501 static void PrepareTextureCopyOutputResult( |
| 502 const gfx::Size& dst_size_in_pixel, | 502 const gfx::Size& dst_size_in_pixel, |
| 503 const SkBitmap::Config config, | 503 const SkBitmap::Config config, |
| 504 const base::Callback<void(bool, const SkBitmap&)>& callback, | 504 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 505 scoped_ptr<cc::CopyOutputResult> result); | 505 scoped_ptr<cc::CopyOutputResult> result); |
| 506 static void PrepareBitmapCopyOutputResult( | 506 static void PrepareBitmapCopyOutputResult( |
| 507 const gfx::Size& dst_size_in_pixel, | 507 const gfx::Size& dst_size_in_pixel, |
| 508 const SkBitmap::Config config, |
| 508 const base::Callback<void(bool, const SkBitmap&)>& callback, | 509 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 509 scoped_ptr<cc::CopyOutputResult> result); | 510 scoped_ptr<cc::CopyOutputResult> result); |
| 510 static void CopyFromCompositingSurfaceHasResultForVideo( | 511 static void CopyFromCompositingSurfaceHasResultForVideo( |
| 511 base::WeakPtr<RenderWidgetHostViewAura> rwhva, | 512 base::WeakPtr<RenderWidgetHostViewAura> rwhva, |
| 512 scoped_refptr<OwnedMailbox> subscriber_texture, | 513 scoped_refptr<OwnedMailbox> subscriber_texture, |
| 513 scoped_refptr<media::VideoFrame> video_frame, | 514 scoped_refptr<media::VideoFrame> video_frame, |
| 514 const base::Callback<void(bool)>& callback, | 515 const base::Callback<void(bool)>& callback, |
| 515 scoped_ptr<cc::CopyOutputResult> result); | 516 scoped_ptr<cc::CopyOutputResult> result); |
| 516 static void CopyFromCompositingSurfaceFinishedForVideo( | 517 static void CopyFromCompositingSurfaceFinishedForVideo( |
| 517 base::WeakPtr<RenderWidgetHostViewAura> rwhva, | 518 base::WeakPtr<RenderWidgetHostViewAura> rwhva, |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 // passed to windowless plugins like Flash/Silverlight, etc as the | 809 // passed to windowless plugins like Flash/Silverlight, etc as the |
| 809 // container window. | 810 // container window. |
| 810 HWND plugin_parent_window_; | 811 HWND plugin_parent_window_; |
| 811 #endif | 812 #endif |
| 812 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 813 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 813 }; | 814 }; |
| 814 | 815 |
| 815 } // namespace content | 816 } // namespace content |
| 816 | 817 |
| 817 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 818 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |