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

Unified Diff: athena/resource_manager/resource_manager_impl.cc

Issue 480293003: Adding functions to the window_list_provider for accessing the activities window list (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the other functions as well Created 6 years, 3 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: athena/resource_manager/resource_manager_impl.cc
diff --git a/athena/resource_manager/resource_manager_impl.cc b/athena/resource_manager/resource_manager_impl.cc
index 42351a0a6121fc75105487f56eb478a1218b9a2b..d5c4782153315c1d4c34e72491bfe2bfb4f5beec 100644
--- a/athena/resource_manager/resource_manager_impl.cc
+++ b/athena/resource_manager/resource_manager_impl.cc
@@ -195,6 +195,11 @@ void ResourceManagerImpl::OnSplitViewModeExit() {
void ResourceManagerImpl::OnWindowStackingChanged(aura::Window* window) {
// TODO(skuhne): This needs to be changed to some WindowListProvider observer
// if we decouple window order from activity order.
+ activity_order_changed_ = true;
+ if (pause_) {
+ queued_command_ = true;
+ return;
+ }
// No need to do anything while being in overview mode.
if (in_overview_mode_)

Powered by Google App Engine
This is Rietveld 408576698