OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ | 5 #ifndef UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ |
6 #define UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ | 6 #define UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "cc/output/copy_output_result.h" | 10 #include "cc/output/copy_output_result.h" |
10 #include "ui/snapshot/snapshot.h" | 11 #include "ui/snapshot/snapshot.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class TaskRunner; | 14 class TaskRunner; |
14 } | 15 } |
15 | 16 |
16 namespace gfx { | 17 namespace gfx { |
17 class Size; | 18 class Size; |
18 } | 19 } |
(...skipping 15 matching lines...) Expand all Loading... |
34 scoped_refptr<base::TaskRunner> background_task_runner, | 35 scoped_refptr<base::TaskRunner> background_task_runner, |
35 scoped_ptr<cc::CopyOutputResult> result); | 36 scoped_ptr<cc::CopyOutputResult> result); |
36 | 37 |
37 private: | 38 private: |
38 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync); | 39 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace ui | 42 } // namespace ui |
42 | 43 |
43 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ | 44 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ |
OLD | NEW |