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

Unified Diff: chromecast/graphics/cast_window_manager_aura.h

Issue 2636303002: [Chromecast] Add support for z-order and window focus. (Closed)
Patch Set: Simplifications and unit tests. 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/graphics/cast_window_manager_aura.h
diff --git a/chromecast/graphics/cast_window_manager_aura.h b/chromecast/graphics/cast_window_manager_aura.h
index 8ce021d61ab986347357cd8b2287d570db256874..cb935ce193bb408ff6eb063876fd3972ee63ca3d 100644
--- a/chromecast/graphics/cast_window_manager_aura.h
+++ b/chromecast/graphics/cast_window_manager_aura.h
@@ -8,12 +8,11 @@
#include <memory>
#include "base/macros.h"
-#include "base/observer_list.h"
+#include "chromecast/graphics/cast_focus_client_aura.h"
#include "chromecast/graphics/cast_vsync_settings.h"
#include "chromecast/graphics/cast_window_manager.h"
namespace aura {
-class Window;
namespace client {
class DefaultCaptureClient;
} // namespace client
@@ -21,6 +20,7 @@ class DefaultCaptureClient;
namespace chromecast {
+class CastFocusClientAura;
halliwell 2017/01/24 00:54:46 nit, unnecessary
Joshua LeVasseur 2017/01/24 03:39:50 I keep this and toss the include file above.
class CastWindowTreeHost;
class CastWindowManagerAura : public CastWindowManager,
@@ -46,6 +46,7 @@ class CastWindowManagerAura : public CastWindowManager,
const bool enable_input_;
std::unique_ptr<CastWindowTreeHost> window_tree_host_;
std::unique_ptr<aura::client::DefaultCaptureClient> capture_client_;
+ CastFocusClientAura focus_client_;
DISALLOW_COPY_AND_ASSIGN(CastWindowManagerAura);
};

Powered by Google App Engine
This is Rietveld 408576698