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

Unified Diff: chromecast/browser/cast_window_manager.h

Issue 2428383007: [Chromecast] Add input support. (Closed)
Patch Set: Created 4 years, 2 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
Index: chromecast/browser/cast_window_manager.h
diff --git a/chromecast/browser/cast_window_manager.h b/chromecast/browser/cast_window_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..190eb1bbd65fc0a10cf07d0fdc7c17850f6c6737
--- /dev/null
+++ b/chromecast/browser/cast_window_manager.h
@@ -0,0 +1,33 @@
+// Copyright 2016 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.
+#ifndef CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_
+#define CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_
+
+#include "base/macros.h"
+
+namespace content {
+class WebContents;
+}
+
+namespace chromecast {
+namespace shell {
+
+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
+ public:
+ CastWindowManager();
+
+ virtual ~CastWindowManager();
+
+ virtual void StartWindowManager();
derekjchow1 2016/10/24 22:43:09 Should there be a StopWindowManager as well?
+ virtual void AddWebContents(content::WebContents* web_contents,
derekjchow1 2016/10/24 22:43:09 How do we remove a WebContents from the window man
+ bool is_overlay, bool is_transparent);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CastWindowManager);
+};
+
+} // namespace shell
+} // namespace chromecast
+
+#endif // CHROMECAST_BROWSER_CAST_WINDOW_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698