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

Side by Side Diff: ui/snapshot/snapshot_ios.mm

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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
« no previous file with comments | « ui/snapshot/snapshot_aura_unittest.cc ('k') | ui/snapshot/snapshot_mac.mm » ('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 "base/callback.h" 7 #include "base/callback.h"
8 #include "ui/gfx/geometry/rect.h"
8 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
9 #include "ui/gfx/rect.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 bool GrabViewSnapshot(gfx::NativeView view, 13 bool GrabViewSnapshot(gfx::NativeView view,
14 std::vector<unsigned char>* png_representation, 14 std::vector<unsigned char>* png_representation,
15 const gfx::Rect& snapshot_bounds) { 15 const gfx::Rect& snapshot_bounds) {
16 // TODO(bajones): Implement iOS snapshot functionality 16 // TODO(bajones): Implement iOS snapshot functionality
17 return false; 17 return false;
18 } 18 }
19 19
(...skipping 23 matching lines...) Expand all
43 43
44 void GrabWindowSnapshotAsync( 44 void GrabWindowSnapshotAsync(
45 gfx::NativeWindow window, 45 gfx::NativeWindow window,
46 const gfx::Rect& source_rect, 46 const gfx::Rect& source_rect,
47 scoped_refptr<base::TaskRunner> background_task_runner, 47 scoped_refptr<base::TaskRunner> background_task_runner,
48 const GrabWindowSnapshotAsyncPNGCallback& callback) { 48 const GrabWindowSnapshotAsyncPNGCallback& callback) {
49 callback.Run(scoped_refptr<base::RefCountedBytes>()); 49 callback.Run(scoped_refptr<base::RefCountedBytes>());
50 } 50 }
51 51
52 } // namespace ui 52 } // namespace ui
OLDNEW
« no previous file with comments | « ui/snapshot/snapshot_aura_unittest.cc ('k') | ui/snapshot/snapshot_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698