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

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

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 (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 <utility> 8 #include <utility>
8 9
9 #include "base/bind.h" 10 #include "base/bind.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "cc/output/copy_output_request.h" 11 #include "cc/output/copy_output_request.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 12 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "ui/android/view_android.h" 13 #include "ui/android/view_android.h"
14 #include "ui/android/window_android.h" 14 #include "ui/android/window_android.h"
15 #include "ui/android/window_android_compositor.h" 15 #include "ui/android/window_android_compositor.h"
16 #include "ui/gfx/display.h" 16 #include "ui/gfx/display.h"
17 #include "ui/gfx/geometry/point_conversions.h" 17 #include "ui/gfx/geometry/point_conversions.h"
18 #include "ui/gfx/geometry/rect_conversions.h" 18 #include "ui/gfx/geometry/rect_conversions.h"
19 #include "ui/gfx/screen.h" 19 #include "ui/gfx/screen.h"
20 #include "ui/snapshot/snapshot_async.h" 20 #include "ui/snapshot/snapshot_async.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void GrabViewSnapshotAsync( 87 void GrabViewSnapshotAsync(
88 gfx::NativeView view, 88 gfx::NativeView view,
89 const gfx::Rect& source_rect, 89 const gfx::Rect& source_rect,
90 scoped_refptr<base::TaskRunner> background_task_runner, 90 scoped_refptr<base::TaskRunner> background_task_runner,
91 const GrabWindowSnapshotAsyncPNGCallback& callback) { 91 const GrabWindowSnapshotAsyncPNGCallback& callback) {
92 GrabWindowSnapshotAsync( 92 GrabWindowSnapshotAsync(
93 view->GetWindowAndroid(), source_rect, background_task_runner, callback); 93 view->GetWindowAndroid(), source_rect, background_task_runner, callback);
94 } 94 }
95 95
96 } // namespace ui 96 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/wayland/wayland_egl_surface.cc ('k') | ui/views/controls/webview/webview_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698