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

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

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove new evernt type, add direct route from event -> platform window Created 6 years 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
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/ozone/public/surface_factory_ozone.h" 5 #include "ui/ozone/public/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/ozone/public/native_pixmap.h" 10 #include "ui/ozone/public/native_pixmap.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 return scoped_ptr<SurfaceOzoneEGL>(); 48 return scoped_ptr<SurfaceOzoneEGL>();
49 } 49 }
50 50
51 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget( 51 scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
52 gfx::AcceleratedWidget widget) { 52 gfx::AcceleratedWidget widget) {
53 NOTIMPLEMENTED(); 53 NOTIMPLEMENTED();
54 return scoped_ptr<SurfaceOzoneCanvas>(); 54 return scoped_ptr<SurfaceOzoneCanvas>();
55 } 55 }
56 56
57 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties( 57 const int32* SurfaceFactoryOzone::GetEGLSurfaceProperties(
58 const int32* desired_attributes) { 58 const int32* desired_attributes,
59 SurfaceOzoneEGL* surface) {
59 return desired_attributes; 60 return desired_attributes;
60 } 61 }
61 62
62 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( 63 ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates(
63 gfx::AcceleratedWidget w) { 64 gfx::AcceleratedWidget w) {
64 return NULL; 65 return NULL;
65 } 66 }
66 67
67 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap( 68 scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
68 gfx::AcceleratedWidget widget, 69 gfx::AcceleratedWidget widget,
(...skipping 15 matching lines...) Expand all
84 85
85 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { 86 bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() {
86 return false; 87 return false;
87 } 88 }
88 89
89 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) { 90 bool SurfaceFactoryOzone::CanCreateNativePixmap(BufferUsage usage) {
90 return false; 91 return false;
91 } 92 }
92 93
93 } // namespace ui 94 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698