Make USB permissions work in the new permission message system
[chromium-blink-merge.git] / content / browser / compositor / software_output_device_mac.h
blob5b6ac86b77d56659d23cb4d062fcfe53a441b30a
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_
6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_
8 #include "cc/output/software_output_device.h"
10 namespace gfx {
11 class Canvas;
14 namespace ui {
15 class Compositor;
18 namespace content {
20 class SoftwareOutputDeviceMac : public cc::SoftwareOutputDevice {
21 public:
22 explicit SoftwareOutputDeviceMac(ui::Compositor* compositor);
23 ~SoftwareOutputDeviceMac() override;
25 void EndPaint() override;
27 private:
28 ui::Compositor* compositor_;
30 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMac);
33 } // namespace content
35 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_