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

Side by Side Diff: ui/gfx/ozone/surface_ozone.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 & update some comments 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
(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.h"
6
7 #include "third_party/skia/include/core/SkCanvas.h"
8 #include "ui/gfx/vsync_provider.h"
9
10 class SkCanvas;
11
12 namespace gfx {
13
14 SurfaceOzone::SurfaceOzone() {}
15
16 SurfaceOzone::~SurfaceOzone() {}
17
18 bool SurfaceOzone::InitializeEGL() { return false; }
19
20 intptr_t /* EGLNativeWindowType */ SurfaceOzone::GetEGLNativeWindow() {
21 NOTREACHED();
22 return 0; // not reached
23 }
24
25 bool SurfaceOzone::InitializeCanvas() { return false; }
26
27 skia::RefPtr<SkCanvas> SurfaceOzone::GetCanvas() {
28 NOTREACHED();
29 return skia::RefPtr<SkCanvas>(); // not reached
30 }
31
32 bool SurfaceOzone::ResizeCanvas(const gfx::Size& viewport_size) {
33 NOTIMPLEMENTED();
34 return false;
35 }
36
37 bool SurfaceOzone::SwapCanvas() {
38 NOTIMPLEMENTED();
39 return true;
40 }
41
42 scoped_ptr<gfx::VSyncProvider> SurfaceOzone::CreateVSyncProvider() {
43 NOTIMPLEMENTED();
44 return scoped_ptr<gfx::VSyncProvider>();
45 }
46
47 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698