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

Unified Diff: ui/ozone/platform/cast/platform_window_cast.h

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 | « ui/ozone/platform/cast/ozone_platform_cast.cc ('k') | ui/ozone/platform/cast/platform_window_cast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/cast/platform_window_cast.h
diff --git a/chromecast/ozone/platform_window_cast.h b/ui/ozone/platform/cast/platform_window_cast.h
similarity index 67%
rename from chromecast/ozone/platform_window_cast.h
rename to ui/ozone/platform/cast/platform_window_cast.h
index 187a3935a4b4b5f05496f63b6935b8686be8d017..21e5a68125a4724d2a409f7fa9afa3a577cae27b 100644
--- a/chromecast/ozone/platform_window_cast.h
+++ b/ui/ozone/platform/cast/platform_window_cast.h
@@ -2,20 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMECAST_PLATFORM_WINDOW_CAST_H_
-#define CHROMECAST_PLATFORM_WINDOW_CAST_H_
+#ifndef UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
+#define UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/platform_window/platform_window.h"
-namespace chromecast {
-namespace ozone {
+namespace ui {
-class PlatformWindowCast : public ui::PlatformWindow {
+class PlatformWindowCast : public PlatformWindow {
public:
- PlatformWindowCast(ui::PlatformWindowDelegate* delegate,
- const gfx::Rect& bounds);
+ PlatformWindowCast(PlatformWindowDelegate* delegate, const gfx::Rect& bounds);
~PlatformWindowCast() override {}
// PlatformWindow implementation:
@@ -30,19 +28,18 @@ class PlatformWindowCast : public ui::PlatformWindow {
void Maximize() override {}
void Minimize() override {}
void Restore() override {}
- void SetCursor(ui::PlatformCursor cursor) override {}
+ void SetCursor(PlatformCursor cursor) override {}
void MoveCursorTo(const gfx::Point& location) override {}
void ConfineCursorToBounds(const gfx::Rect& bounds) override {}
private:
- ui::PlatformWindowDelegate* delegate_;
+ PlatformWindowDelegate* delegate_;
gfx::Rect bounds_;
gfx::AcceleratedWidget widget_;
DISALLOW_COPY_AND_ASSIGN(PlatformWindowCast);
};
-} // namespace ozone
-} // namespace chromecast
+} // namespace ui
-#endif // CHROMECAST_PLATFORM_WINDOW_CAST_H_
+#endif // UI_OZONE_PLATFORM_CAST_PLATFORM_WINDOW_CAST_H_
« no previous file with comments | « ui/ozone/platform/cast/ozone_platform_cast.cc ('k') | ui/ozone/platform/cast/platform_window_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698