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

Unified Diff: ash/wm/common/wm_globals.h

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge Created 4 years, 8 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
« no previous file with comments | « ash/wm/common/window_state_util.cc ('k') | ash/wm/common/wm_root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_globals.h
diff --git a/ash/wm/common/wm_globals.h b/ash/wm/common/wm_globals.h
index 7c977230fc9b41262d456b2536481df1177b7cf2..9343281d2738297f84e026464b528e2925471b1c 100644
--- a/ash/wm/common/wm_globals.h
+++ b/ash/wm/common/wm_globals.h
@@ -5,6 +5,8 @@
#ifndef ASH_WM_COMMON_WM_GLOBALS_H_
#define ASH_WM_COMMON_WM_GLOBALS_H_
+#include <stdint.h>
+
#include <vector>
#include "ash/ash_export.h"
@@ -29,6 +31,9 @@ class ASH_EXPORT WmGlobals {
virtual WmWindow* GetActiveWindow() = 0;
+ // Returns the root window for the specified display.
+ virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0;
+
// Returns the root window that newly created windows should be added to.
// NOTE: this returns the root, newly created window should be added to the
// appropriate container in the returned window.
« no previous file with comments | « ash/wm/common/window_state_util.cc ('k') | ash/wm/common/wm_root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698