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

Unified Diff: athena/wm/window_overview_mode.cc

Issue 546123002: Ensure that an activity is activated when overview mode is exited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « athena/wm/window_overview_mode.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_overview_mode.cc
diff --git a/athena/wm/window_overview_mode.cc b/athena/wm/window_overview_mode.cc
index 704223a380ebd6d7e6089a17149a0097947753c0..4905bdfb1a415d47ec62b9eab425b0b9be681ba2 100644
--- a/athena/wm/window_overview_mode.cc
+++ b/athena/wm/window_overview_mode.cc
@@ -592,7 +592,9 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
OverviewToolbar::ActionType action = overview_toolbar_->current_action();
overview_toolbar_.reset();
if (action == OverviewToolbar::ACTION_TYPE_SPLIT) {
- delegate_->OnSplitViewMode(NULL, dragged_window_);
+ delegate_->OnSelectSplitViewWindow(NULL,
+ dragged_window_,
+ dragged_window_);
return;
}
@@ -606,7 +608,7 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
left = dragged_window_;
else
right = dragged_window_;
- delegate_->OnSplitViewMode(left, right);
+ delegate_->OnSelectSplitViewWindow(left, right, dragged_window_);
return;
}
@@ -624,8 +626,10 @@ class WindowOverviewModeImpl : public WindowOverviewMode,
// current state.
if (window == split_view_controller_->left_window() ||
window == split_view_controller_->right_window()) {
- delegate_->OnSplitViewMode(split_view_controller_->left_window(),
- split_view_controller_->right_window());
+ delegate_->OnSelectSplitViewWindow(
+ split_view_controller_->left_window(),
+ split_view_controller_->right_window(),
+ window);
} else {
delegate_->OnSelectWindow(window);
}
« no previous file with comments | « athena/wm/window_overview_mode.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698