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..feb14d008097e1a61f024e8db7d9cbc7700dc20a |
--- /dev/null |
+++ b/ui/gfx/ozone/surface_ozone.cc |
@@ -0,0 +1,46 @@ |
+// 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 "ui/gfx/vsync_provider.h" |
+ |
+class SkCanvas; |
+ |
+namespace gfx { |
+ |
+SurfaceOzone::SurfaceOzone() {} |
+ |
+SurfaceOzone::~SurfaceOzone() {} |
+ |
+bool SurfaceOzone::InitializeEGL() { return false; } |
+ |
+intptr_t /* EGLNativeWindowType */ SurfaceOzone::GetEGLNativeWindow() { |
+ LOG(FATAL) << "not supported"; |
+ return 0; // not reached |
+} |
+ |
+bool SurfaceOzone::InitializeCanvas() { return false; } |
+ |
+SkCanvas* SurfaceOzone::GetCanvas() { |
+ LOG(FATAL) << "not supported"; |
+ return NULL; // not reached |
+} |
+ |
+bool SurfaceOzone::ResizeCanvas(const gfx::Rect& 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 |