| 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 5839e2129c8364e5fdfdb0b504441d0b1ce3998e..16d86ca6c423303663d7c6cefe755771557d528a 100644
|
| --- a/ash/wm/workspace/workspace_event_handler.cc
|
| +++ b/ash/wm/workspace/workspace_event_handler.cc
|
| @@ -91,7 +91,8 @@ void WorkspaceEventHandler::OnMouseEvent(ui::MouseEvent* event) {
|
|
|
| if (event->flags() & ui::EF_IS_DOUBLE_CLICK &&
|
| target->delegate()->GetNonClientComponent(event->location()) ==
|
| - HTCAPTION) {
|
| + HTCAPTION &&
|
| + !ash::Shell::IsForcedMaximizeMode()) {
|
| bool destroyed = false;
|
| destroyed_ = &destroyed;
|
| ash::Shell::GetInstance()->delegate()->RecordUserMetricsAction(
|
|
|