| 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 const SkBitmap::Config config, | 472 const SkBitmap::Config config, |
| 473 const base::Callback<void(bool, const SkBitmap&)>& callback, | 473 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 474 scoped_ptr<cc::CopyOutputResult> result); | 474 scoped_ptr<cc::CopyOutputResult> result); |
| 475 static void PrepareTextureCopyOutputResult( | 475 static void PrepareTextureCopyOutputResult( |
| 476 const gfx::Size& dst_size_in_pixel, | 476 const gfx::Size& dst_size_in_pixel, |
| 477 const SkBitmap::Config config, | 477 const SkBitmap::Config config, |
| 478 const base::Callback<void(bool, const SkBitmap&)>& callback, | 478 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 479 scoped_ptr<cc::CopyOutputResult> result); | 479 scoped_ptr<cc::CopyOutputResult> result); |
| 480 static void PrepareBitmapCopyOutputResult( | 480 static void PrepareBitmapCopyOutputResult( |
| 481 const gfx::Size& dst_size_in_pixel, | 481 const gfx::Size& dst_size_in_pixel, |
| 482 const SkBitmap::Config config, |
| 482 const base::Callback<void(bool, const SkBitmap&)>& callback, | 483 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| 483 scoped_ptr<cc::CopyOutputResult> result); | 484 scoped_ptr<cc::CopyOutputResult> result); |
| 484 static void CopyFromCompositingSurfaceHasResultForVideo( | 485 static void CopyFromCompositingSurfaceHasResultForVideo( |
| 485 base::WeakPtr<RenderWidgetHostViewAura> rwhva, | 486 base::WeakPtr<RenderWidgetHostViewAura> rwhva, |
| 486 scoped_refptr<OwnedMailbox> subscriber_texture, | 487 scoped_refptr<OwnedMailbox> subscriber_texture, |
| 487 scoped_refptr<media::VideoFrame> video_frame, | 488 scoped_refptr<media::VideoFrame> video_frame, |
| 488 const base::Callback<void(bool)>& callback, | 489 const base::Callback<void(bool)>& callback, |
| 489 scoped_ptr<cc::CopyOutputResult> result); | 490 scoped_ptr<cc::CopyOutputResult> result); |
| 490 static void CopyFromCompositingSurfaceFinishedForVideo( | 491 static void CopyFromCompositingSurfaceFinishedForVideo( |
| 491 base::WeakPtr<RenderWidgetHostViewAura> rwhva, | 492 base::WeakPtr<RenderWidgetHostViewAura> rwhva, |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 // passed to windowless plugins like Flash/Silverlight, etc as the | 773 // passed to windowless plugins like Flash/Silverlight, etc as the |
| 773 // container window. | 774 // container window. |
| 774 HWND plugin_parent_window_; | 775 HWND plugin_parent_window_; |
| 775 #endif | 776 #endif |
| 776 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 777 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 777 }; | 778 }; |
| 778 | 779 |
| 779 } // namespace content | 780 } // namespace content |
| 780 | 781 |
| 781 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 782 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |