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_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 |
OLD | NEW |