| Index: ui/gfx/ozone/surface_ozone.cc
|
| diff --git a/ui/gfx/ozone/surface_ozone.cc b/ui/gfx/ozone/surface_ozone.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..126f5d285a59ef2a2c7cd5534a8cf1419f6ca8d6
|
| --- /dev/null
|
| +++ b/ui/gfx/ozone/surface_ozone.cc
|
| @@ -0,0 +1,47 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/gfx/ozone/surface_ozone.h"
|
| +
|
| +#include "third_party/skia/include/core/SkCanvas.h"
|
| +#include "ui/gfx/vsync_provider.h"
|
| +
|
| +class SkCanvas;
|
| +
|
| +namespace gfx {
|
| +
|
| +SurfaceOzone::SurfaceOzone() {}
|
| +
|
| +SurfaceOzone::~SurfaceOzone() {}
|
| +
|
| +bool SurfaceOzone::InitializeEGL() { return false; }
|
| +
|
| +intptr_t /* EGLNativeWindowType */ SurfaceOzone::GetEGLNativeWindow() {
|
| + NOTREACHED();
|
| + return 0; // not reached
|
| +}
|
| +
|
| +bool SurfaceOzone::InitializeCanvas() { return false; }
|
| +
|
| +skia::RefPtr<SkCanvas> SurfaceOzone::GetCanvas() {
|
| + NOTREACHED();
|
| + return skia::RefPtr<SkCanvas>(); // not reached
|
| +}
|
| +
|
| +bool SurfaceOzone::ResizeCanvas(const gfx::Size& viewport_size) {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +bool SurfaceOzone::SwapCanvas() {
|
| + NOTIMPLEMENTED();
|
| + return true;
|
| +}
|
| +
|
| +scoped_ptr<gfx::VSyncProvider> SurfaceOzone::CreateVSyncProvider() {
|
| + NOTIMPLEMENTED();
|
| + return scoped_ptr<gfx::VSyncProvider>();
|
| +}
|
| +
|
| +} // namespace gfx
|
|
|