Chromium Code Reviews| 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 | |
| 12 namespace ui { | |
| 13 class Compositor; | |
| 14 } | |
| 15 | |
| 16 namespace content { | |
| 17 | |
| 18 // Mus implementation of software compositing: Chrome will do a software | |
| 19 // composite and ship the resultant bitmap to an instance of the mus | |
| 20 // window server. Remove this upon completion of http://crbug.com/548451 | |
| 21 class CONTENT_EXPORT SoftwareOutputDeviceMus : public cc::SoftwareOutputDevice { | |
| 22 public: | |
| 23 explicit SoftwareOutputDeviceMus(ui::Compositor* compositor); | |
| 24 void EndPaint() override; | |
|
Ben Goodger (Google)
2015/11/13 03:26:52
nit: -> private
rjkroege
2015/11/13 03:38:52
Done.
| |
| 25 | |
| 26 private: | |
| 27 ui::Compositor* compositor_; | |
| 28 | |
| 29 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMus); | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MUS_H_ | |
| OLD | NEW |