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

Unified Diff: chromecast/graphics/cast_window_manager.h

Issue 2636303002: [Chromecast] Add support for z-order and window focus. (Closed)
Patch Set: rebased on final dependent cl 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.h
diff --git a/chromecast/graphics/cast_window_manager.h b/chromecast/graphics/cast_window_manager.h
index bf2dc4b63f3a292c79bd76465b361db176441208..f39fb7947ee671b6b291b1504ea9265f60095772 100644
--- a/chromecast/graphics/cast_window_manager.h
+++ b/chromecast/graphics/cast_window_manager.h
@@ -18,6 +18,17 @@ namespace chromecast {
// should exist per platform root window (e.g., in Ozone, one per Ozone window).
class CastWindowManager {
public:
+ // Note: these window IDs are ordered by z-order.
+ enum {
derekjchow1 2017/01/19 18:12:13 Where is this enum actually used?
Joshua LeVasseur 2017/01/19 19:35:25 Pending CLs and internal code.
+ BOTTOM = -1,
+ APP = BOTTOM,
derekjchow1 2017/01/19 18:12:13 To mimic line TOP = VOLUME, shouldn't BOTTOM = APP
Joshua LeVasseur 2017/01/19 19:35:25 That would require APP to be defined first at -1 (
+ DEBUG_OVERLAY,
+ INFO_OVERLAY,
+ SOFT_KEYBOARD,
+ VOLUME,
+ TOP = VOLUME
+ } WindowId;
+
// Creates the platform-specific CastWindowManager.
static std::unique_ptr<CastWindowManager> Create(bool enable_input);
« no previous file with comments | « no previous file | chromecast/graphics/cast_window_manager_aura.h » ('j') | chromecast/graphics/cast_window_manager_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698