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

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

Issue 2697933003: Add missing #include around sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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/base/ime/input_method_chromeos.h ('k') | no next file » | 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 <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/task_runner.h"
11 #include "cc/output/copy_output_request.h" 12 #include "cc/output/copy_output_request.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "ui/android/view_android.h" 14 #include "ui/android/view_android.h"
14 #include "ui/android/window_android.h" 15 #include "ui/android/window_android.h"
15 #include "ui/android/window_android_compositor.h" 16 #include "ui/android/window_android_compositor.h"
16 #include "ui/display/display.h" 17 #include "ui/display/display.h"
17 #include "ui/display/screen.h" 18 #include "ui/display/screen.h"
18 #include "ui/gfx/geometry/point_conversions.h" 19 #include "ui/gfx/geometry/point_conversions.h"
19 #include "ui/gfx/geometry/rect_conversions.h" 20 #include "ui/gfx/geometry/rect_conversions.h"
20 #include "ui/snapshot/snapshot_async.h" 21 #include "ui/snapshot/snapshot_async.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 74
74 void GrabViewSnapshotAsync(gfx::NativeView view, 75 void GrabViewSnapshotAsync(gfx::NativeView view,
75 const gfx::Rect& source_rect, 76 const gfx::Rect& source_rect,
76 const GrabWindowSnapshotAsyncCallback& callback) { 77 const GrabWindowSnapshotAsyncCallback& callback) {
77 MakeAsyncCopyRequest( 78 MakeAsyncCopyRequest(
78 view->GetWindowAndroid(), source_rect, 79 view->GetWindowAndroid(), source_rect,
79 base::Bind(&SnapshotAsync::RunCallbackWithCopyOutputResult, callback)); 80 base::Bind(&SnapshotAsync::RunCallbackWithCopyOutputResult, callback));
80 } 81 }
81 82
82 } // namespace ui 83 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698