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 "cc/output/copy_output_result.h" | 9 #include "cc/output/copy_output_result.h" |
9 #include "ui/snapshot/snapshot.h" | 10 #include "ui/snapshot/snapshot.h" |
10 | 11 |
11 namespace base { | 12 namespace base { |
12 class TaskRunner; | 13 class TaskRunner; |
13 } | 14 } |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 class Size; | 17 class Size; |
17 } | 18 } |
(...skipping 15 matching lines...) Expand all Loading... |
33 scoped_refptr<base::TaskRunner> background_task_runner, | 34 scoped_refptr<base::TaskRunner> background_task_runner, |
34 scoped_ptr<cc::CopyOutputResult> result); | 35 scoped_ptr<cc::CopyOutputResult> result); |
35 | 36 |
36 private: | 37 private: |
37 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(SnapshotAsync); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace ui | 41 } // namespace ui |
41 | 42 |
42 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ | 43 #endif // UI_SNAPSHOT_SNAPSHOT_ASYNC_H_ |
OLD | NEW |