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

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

Issue 1438903002: p1 mus+ash chrome renders ui and content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, fixed release build Created 5 years, 1 month 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 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 SoftwareOutputDeviceMus : public cc::SoftwareOutputDevice {
22 public:
23 explicit SoftwareOutputDeviceMus(ui::Compositor* compositor);
24
25 private:
26 // cc::SoftwareOutputDevice
27 void EndPaint() override;
28
29 ui::Compositor* compositor_;
30
31 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMus);
32 };
33
34 } // namespace content
35
36 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MUS_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/compositor/software_output_device_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698