Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
|
piman
2014/03/27 21:20:56
nit: comment is superfluous
spang
2014/03/28 16:09:13
Done.
| |
| 23 } | |
| 24 | |
| 25 bool SurfaceOzone::InitializeCanvas() { return false; } | |
| 26 | |
| 27 skia::RefPtr<SkCanvas> SurfaceOzone::GetCanvas() { | |
| 28 NOTREACHED(); | |
| 29 return skia::RefPtr<SkCanvas>(); // not reached | |
|
piman
2014/03/27 21:20:56
nit: comment is superfluous
spang
2014/03/28 16:09:13
Done.
| |
| 30 } | |
| 31 | |
| 32 bool SurfaceOzone::ResizeCanvas(const gfx::Size& viewport_size) { | |
| 33 NOTIMPLEMENTED(); | |
| 34 return false; | |
| 35 } | |
| 36 | |
| 37 bool SurfaceOzone::PresentCanvas() { | |
| 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 | |
| OLD | NEW |