Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Side by Side Diff: content/browser/compositor/software_output_device_mac.h

Issue 297573003: Make delegated software renderer work on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_
6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_
7
8 #include "cc/output/software_output_device.h"
9
10 namespace gfx {
11 class Canvas;
12 }
13
14 namespace ui {
15 class Compositor;
16 }
17
18 namespace content {
19
20 class SoftwareOutputDeviceMac : public cc::SoftwareOutputDevice {
21 public:
22 explicit SoftwareOutputDeviceMac(ui::Compositor* compositor);
23 virtual ~SoftwareOutputDeviceMac();
24
25 virtual void EndPaint(cc::SoftwareFrameData* frame_data) OVERRIDE;
26
27 private:
28 ui::Compositor* compositor_;
piman 2014/05/20 07:04:17 nit: DISALLOW_COPY_AND_ASSIGN
ccameron 2014/05/20 19:15:50 Added to Mac, Win, and X11 (only Ozone had it).
piman 2014/05/20 21:00:31 Thanks!
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698