Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: content/browser/compositor/surface_utils.h

Issue 1614703003: Revert of Implement webview.captureVisibleRegion() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_COMPOSITOR_SURFACE_UTILS_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
6 #define CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/public/browser/readback_types.h"
10 #include "third_party/skia/include/core/SkImageInfo.h"
11 #include "ui/gfx/geometry/size.h"
12 9
13 namespace cc { 10 namespace cc {
14 class CopyOutputResult;
15 class SurfaceIdAllocator; 11 class SurfaceIdAllocator;
16 class SurfaceManager; 12 class SurfaceManager;
17 } // namespace cc 13 } // namespace cc
18 14
19 namespace content { 15 namespace content {
20 16
21 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator(); 17 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
22 18
23 cc::SurfaceManager* GetSurfaceManager(); 19 cc::SurfaceManager* GetSurfaceManager();
24 20
25 void CopyFromCompositingSurfaceHasResult(
26 const gfx::Size& dst_size_in_pixel,
27 const SkColorType color_type,
28 const ReadbackRequestCallback& callback,
29 scoped_ptr<cc::CopyOutputResult> result);
30
31 } // namespace content 21 } // namespace content
32 22
33 #endif // CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_ 23 #endif // CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/delegated_frame_host.cc ('k') | content/browser/compositor/surface_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698