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

Unified Diff: ash/wm/workspace/workspace_event_handler.cc

Issue 753933003: Dismiss the multi window resizer when the user clicks outside of the resizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@toplevel_consume_press
Patch Set: Created 6 years 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: ash/wm/workspace/workspace_event_handler.cc
diff --git a/ash/wm/workspace/workspace_event_handler.cc b/ash/wm/workspace/workspace_event_handler.cc
index dda268a61091b14763109f3203f829c875bfda40..ed4644dccc163a5868ce2aae13730cc07efb8eba 100644
--- a/ash/wm/workspace/workspace_event_handler.cc
+++ b/ash/wm/workspace/workspace_event_handler.cc
@@ -24,11 +24,6 @@ void WorkspaceEventHandler::OnMouseEvent(ui::MouseEvent* event) {
int component =
target->delegate()->GetNonClientComponent(event->location());
multi_window_resize_controller_.Show(target, component, event->location());
- } else if (event->type() == ui::ET_MOUSE_PRESSED) {
- // The multi window resizer does not hide as a result of a single click
- // because this code is never reached as a result of a single click.
- // TODO(pkotwicz): Fix this. http://crbug.com/437125
- multi_window_resize_controller_.Hide();
}
}

Powered by Google App Engine
This is Rietveld 408576698