| Index: ui/snapshot/snapshot.h
|
| diff --git a/ui/snapshot/snapshot.h b/ui/snapshot/snapshot.h
|
| index e547e4748ddaf77b8a4e150f420556bbe3726e0c..be653d4f4b51c25f98e663140b64d70d49d1382f 100644
|
| --- a/ui/snapshot/snapshot.h
|
| +++ b/ui/snapshot/snapshot.h
|
| @@ -41,10 +41,11 @@ SNAPSHOT_EXPORT bool GrabViewSnapshot(
|
| std::vector<unsigned char>* png_representation,
|
| const gfx::Rect& snapshot_bounds);
|
|
|
| +// These functions take a snapshot of |source_rect| (specified in Window/DIP
|
| +// coordinates) from window and scale it to |target_size| (in physical pixels),
|
| +// asynchronously.
|
| typedef base::Callback<void(const gfx::Image& snapshot)>
|
| GrabWindowSnapshotAsyncCallback;
|
| -// GrabWindowSnapshotAndScaleAsync() copies snapshot of |source_rect| from
|
| -// window and scales it to |target_size| asynchronously.
|
| SNAPSHOT_EXPORT void GrabWindowSnapshotAndScaleAsync(
|
| gfx::NativeWindow window,
|
| const gfx::Rect& source_rect,
|
|
|