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

Side by Side Diff: ui/snapshot/snapshot_aura.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
« no previous file with comments | « ui/snapshot/screenshot_grabber.cc ('k') | ui/views/animation/ink_drop_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "ui/snapshot/snapshot.h" 5 #include "ui/snapshot/snapshot.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
12 #include "cc/output/copy_output_request.h" 13 #include "cc/output/copy_output_request.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 14 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
15 #include "ui/aura/window_tracker.h" 16 #include "ui/aura/window_tracker.h"
16 #include "ui/compositor/compositor.h" 17 #include "ui/compositor/compositor.h"
17 #include "ui/compositor/dip_util.h" 18 #include "ui/compositor/dip_util.h"
18 #include "ui/compositor/layer.h" 19 #include "ui/compositor/layer.h"
19 #include "ui/snapshot/snapshot_async.h" 20 #include "ui/snapshot/snapshot_async.h"
20 21
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void GrabViewSnapshotAsync( 107 void GrabViewSnapshotAsync(
107 gfx::NativeView view, 108 gfx::NativeView view,
108 const gfx::Rect& source_rect, 109 const gfx::Rect& source_rect,
109 scoped_refptr<base::TaskRunner> background_task_runner, 110 scoped_refptr<base::TaskRunner> background_task_runner,
110 const GrabWindowSnapshotAsyncPNGCallback& callback) { 111 const GrabWindowSnapshotAsyncPNGCallback& callback) {
111 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback); 112 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback);
112 } 113 }
113 114
114 115
115 } // namespace ui 116 } // namespace ui
OLDNEW
« no previous file with comments | « ui/snapshot/screenshot_grabber.cc ('k') | ui/views/animation/ink_drop_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698