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

Unified Diff: chromecast/ozone/surface_ozone_egl_cast.cc

Issue 1059073002: Loads CastEglPlatform implementation from shared library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add myself to OWNERS for cast ozone platform. Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/ozone/surface_ozone_egl_cast.h ('k') | chromecast/public/cast_egl_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/ozone/surface_ozone_egl_cast.cc
diff --git a/chromecast/ozone/surface_ozone_egl_cast.cc b/chromecast/ozone/surface_ozone_egl_cast.cc
deleted file mode 100644
index 1376bf698fb07f10bbf57ec2ab0f3d297c753608..0000000000000000000000000000000000000000
--- a/chromecast/ozone/surface_ozone_egl_cast.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2015 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 "chromecast/ozone/surface_ozone_egl_cast.h"
-
-#include "chromecast/ozone/surface_factory_cast.h"
-#include "ui/gfx/vsync_provider.h"
-
-namespace chromecast {
-namespace ozone {
-
-SurfaceOzoneEglCast::~SurfaceOzoneEglCast() {
- parent_->ChildDestroyed();
-}
-
-intptr_t SurfaceOzoneEglCast::GetNativeWindow() {
- return reinterpret_cast<intptr_t>(parent_->GetNativeWindow());
-}
-
-bool SurfaceOzoneEglCast::OnSwapBuffers() {
- return true;
-}
-
-bool SurfaceOzoneEglCast::OnSwapBuffersAsync(
- const SwapCompletionCallback& callback) {
- callback.Run();
- return true;
-}
-
-bool SurfaceOzoneEglCast::ResizeNativeWindow(const gfx::Size& viewport_size) {
- return parent_->ResizeDisplay(viewport_size);
-}
-
-scoped_ptr<gfx::VSyncProvider> SurfaceOzoneEglCast::CreateVSyncProvider() {
- return scoped_ptr<gfx::VSyncProvider>();
-}
-
-} // namespace ozone
-} // namespace chromecast
« no previous file with comments | « chromecast/ozone/surface_ozone_egl_cast.h ('k') | chromecast/public/cast_egl_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698