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

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

Issue 205433002: ozone: Add OzoneSurface object that is owned by compositor, GLSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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
« no previous file with comments | « ui/gfx/ozone/surface_ozone_base.h ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/gfx/ozone/surface_ozone_base.h"
6
7 #include "third_party/skia/include/core/SkCanvas.h"
8 #include "ui/gfx/vsync_provider.h"
9
10 namespace gfx {
11
12 SurfaceOzoneBase::SurfaceOzoneBase() {}
13
14 SurfaceOzoneBase::~SurfaceOzoneBase() {}
15
16 bool SurfaceOzoneBase::InitializeEGL() { return false; }
17
18 intptr_t /* EGLNativeWindowType */ SurfaceOzoneBase::GetEGLNativeWindow() {
19 NOTREACHED();
20 return 0;
21 }
22
23 bool SurfaceOzoneBase::InitializeCanvas() { return false; }
24
25 skia::RefPtr<SkCanvas> SurfaceOzoneBase::GetCanvas() {
26 NOTREACHED();
27 return skia::RefPtr<SkCanvas>();
28 }
29
30 bool SurfaceOzoneBase::ResizeCanvas(const gfx::Size& viewport_size) {
31 NOTIMPLEMENTED();
32 return false;
33 }
34
35 bool SurfaceOzoneBase::PresentCanvas() {
36 NOTIMPLEMENTED();
37 return true;
38 }
39
40 scoped_ptr<gfx::VSyncProvider> SurfaceOzoneBase::CreateVSyncProvider() {
41 NOTIMPLEMENTED();
42 return scoped_ptr<gfx::VSyncProvider>();
43 }
44
45 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/ozone/surface_ozone_base.h ('k') | ui/gl/gl_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698