OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 #ifndef CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_ | |
5 #define CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_ | |
6 | |
7 #include "base/macros.h" | |
8 | |
9 namespace content { | |
10 class WebContents; | |
11 } | |
12 | |
13 namespace chromecast { | |
14 namespace shell { | |
15 | |
16 class CastWindowManager { | |
derekjchow1
2016/10/24 22:43:09
Please add documentation for this class. What is i
halliwell
2016/10/25 01:43:09
I'm slightly sceptical about this interface:
* Sta
| |
17 public: | |
18 CastWindowManager(); | |
19 | |
20 virtual ~CastWindowManager(); | |
21 | |
22 virtual void StartWindowManager(); | |
derekjchow1
2016/10/24 22:43:09
Should there be a StopWindowManager as well?
| |
23 virtual void AddWebContents(content::WebContents* web_contents, | |
derekjchow1
2016/10/24 22:43:09
How do we remove a WebContents from the window man
| |
24 bool is_overlay, bool is_transparent); | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(CastWindowManager); | |
28 }; | |
29 | |
30 } // namespace shell | |
31 } // namespace chromecast | |
32 | |
33 #endif // CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_ | |
OLD | NEW |