OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MUS_H_ | |
6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MUS_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "cc/output/software_output_device.h" | |
10 #include "content/common/content_export.h" | |
11 #include "ui/gfx/native_widget_types.h" | |
Fady Samuel
2015/11/13 02:18:02
Nit: is this necessary?
rjkroege
2015/11/13 03:10:43
Done.
| |
12 | |
13 namespace ui { | |
14 class Compositor; | |
15 class SurfaceOzoneCanvas; | |
Fady Samuel
2015/11/13 02:18:02
nit: remove.
rjkroege
2015/11/13 03:10:43
Done.
| |
16 } | |
17 | |
18 namespace bitmap_uploader { | |
19 class BitmapUploader; | |
Fady Samuel
2015/11/13 02:18:02
nit: remove.
rjkroege
2015/11/13 03:10:43
Done.
| |
20 } | |
21 | |
22 namespace content { | |
23 | |
24 // Mus implementation of software compositing: Chrome will do a software | |
25 // composite and ship the resultant bitmap to an instance of the mus | |
26 // window server. Remove this upon completion of http://crbug.com/548451 | |
27 class CONTENT_EXPORT SoftwareOutputDeviceMus : public cc::SoftwareOutputDevice { | |
28 public: | |
29 explicit SoftwareOutputDeviceMus(ui::Compositor* compositor); | |
30 void EndPaint() override; | |
31 | |
32 private: | |
33 ui::Compositor* compositor_; | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMus); | |
36 }; | |
37 | |
38 } // namespace content | |
39 | |
40 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MUS_H_ | |
OLD | NEW |