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

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

Issue 205433005: ozone: Add OzoneWindowFactory & OzoneWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | 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/surface_ozone.h" 10 #include "ui/gfx/ozone/surface_ozone.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 13
14 const AcceleratedWidget kDefaultAcceleratedWidgetForSingleWindow = 1;
15
14 // static 16 // static
15 SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL; 17 SurfaceFactoryOzone* SurfaceFactoryOzone::impl_ = NULL;
16 18
17 SurfaceFactoryOzone::SurfaceFactoryOzone() { 19 SurfaceFactoryOzone::SurfaceFactoryOzone() {
18 } 20 }
19 21
20 SurfaceFactoryOzone::~SurfaceFactoryOzone() { 22 SurfaceFactoryOzone::~SurfaceFactoryOzone() {
21 } 23 }
22 24
23 SurfaceFactoryOzone* SurfaceFactoryOzone::GetInstance() { 25 SurfaceFactoryOzone* SurfaceFactoryOzone::GetInstance() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 NOTREACHED(); 61 NOTREACHED();
60 } 62 }
61 63
62 gfx::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer( 64 gfx::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer(
63 gfx::Size size, 65 gfx::Size size,
64 BufferFormat format) { 66 BufferFormat format) {
65 return 0; 67 return 0;
66 } 68 }
67 69
68 } // namespace gfx 70 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698