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