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

Side by Side Diff: ui/gfx/ozone/surface_factory_ozone.cc

Issue 49303002: [Ozone] Rename software implementation files to use Dri prefix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ifdef Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/ozone/surface_factory_ozone.h" 5 #include "ui/gfx/ozone/surface_factory_ozone.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "ui/gfx/ozone/impl/file_surface_factory_ozone.h"
11 #include "ui/gfx/ozone/impl/software_surface_factory_ozone.h"
12 10
13 namespace gfx { 11 namespace gfx {
14 12
15 // static 13 // static
16 SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL; 14 SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL;
17 15
18 class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone { 16 class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone {
19 public: 17 public:
20 SurfaceFactoryOzoneStub() {} 18 SurfaceFactoryOzoneStub() {}
21 virtual ~SurfaceFactoryOzoneStub() {} 19 virtual ~SurfaceFactoryOzoneStub() {}
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const int32* desired_attributes) { 83 const int32* desired_attributes) {
86 return desired_attributes; 84 return desired_attributes;
87 } 85 }
88 86
89 // static 87 // static
90 SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() { 88 SurfaceFactoryOzone* SurfaceFactoryOzone::CreateTestHelper() {
91 return new SurfaceFactoryOzoneStub; 89 return new SurfaceFactoryOzoneStub;
92 } 90 }
93 91
94 } // namespace gfx 92 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/ozone/impl/software_surface_ozone_unittest.cc ('k') | ui/ozone/platform/dri/ozone_platform_dri.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698