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

Side by Side Diff: chromecast/ozone/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 unified diff | Download patch
« no previous file with comments | « chromecast/ozone/ozone_platform_cast.cc ('k') | chromecast/ozone/platform_window_cast.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 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 #ifndef CHROMECAST_PLATFORM_WINDOW_CAST_H_
6 #define CHROMECAST_PLATFORM_WINDOW_CAST_H_
7
8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/platform_window/platform_window.h"
11
12 namespace chromecast {
13 namespace ozone {
14
15 class PlatformWindowCast : public ui::PlatformWindow {
16 public:
17 PlatformWindowCast(ui::PlatformWindowDelegate* delegate,
18 const gfx::Rect& bounds);
19 ~PlatformWindowCast() override {}
20
21 // PlatformWindow implementation:
22 gfx::Rect GetBounds() override;
23 void SetBounds(const gfx::Rect& bounds) override;
24 void Show() override {}
25 void Hide() override {}
26 void Close() override {}
27 void SetCapture() override {}
28 void ReleaseCapture() override {}
29 void ToggleFullscreen() override {}
30 void Maximize() override {}
31 void Minimize() override {}
32 void Restore() override {}
33 void SetCursor(ui::PlatformCursor cursor) override {}
34 void MoveCursorTo(const gfx::Point& location) override {}
35 void ConfineCursorToBounds(const gfx::Rect& bounds) override {}
36
37 private:
38 ui::PlatformWindowDelegate* delegate_;
39 gfx::Rect bounds_;
40 gfx::AcceleratedWidget widget_;
41
42 DISALLOW_COPY_AND_ASSIGN(PlatformWindowCast);
43 };
44
45 } // namespace ozone
46 } // namespace chromecast
47
48 #endif // CHROMECAST_PLATFORM_WINDOW_CAST_H_
OLDNEW
« no previous file with comments | « chromecast/ozone/ozone_platform_cast.cc ('k') | chromecast/ozone/platform_window_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698