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

Unified Diff: chromecast/browser/service/cast_service_simple.h

Issue 2643553002: [Chromecast] Reuse the Aura window manager across receiver apps. (Closed)
Patch Set: applied reviewer feedback Created 3 years, 11 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/service/cast_service_simple.h
diff --git a/chromecast/browser/service/cast_service_simple.h b/chromecast/browser/service/cast_service_simple.h
index 636fbeccb4dec584de116dc3e97bbab1d1b42f22..b37f3417f43c90fa5ef307ed8965f2f3eb1e288b 100644
--- a/chromecast/browser/service/cast_service_simple.h
+++ b/chromecast/browser/service/cast_service_simple.h
@@ -17,13 +17,16 @@ class WebContents;
}
namespace chromecast {
+class CastWindowManager;
+
namespace shell {
class CastServiceSimple : public CastService,
public CastContentWindow::Delegate {
public:
CastServiceSimple(content::BrowserContext* browser_context,
- PrefService* pref_service);
+ PrefService* pref_service,
+ CastWindowManager* window_manager);
~CastServiceSimple() override;
protected:
@@ -38,6 +41,7 @@ class CastServiceSimple : public CastService,
void OnKeyEvent(const ui::KeyEvent& key_event) override;
private:
+ CastWindowManager* const window_manager_;
std::unique_ptr<CastContentWindow> window_;
std::unique_ptr<content::WebContents> web_contents_;
GURL startup_url_;

Powered by Google App Engine
This is Rietveld 408576698