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

Side by Side Diff: ash/wm/dock/docked_window_resizer.cc

Issue 1921423002: Moves DefaultContainer and PanelContainer to wm_shell_window_ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_2
Patch Set: improve readability? 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/wm/dock/docked_window_resizer.h" 5 #include "ash/wm/dock/docked_window_resizer.h"
6 6
7 #include "ash/shell_window_ids.h"
8 #include "ash/wm/common/dock/docked_window_layout_manager.h" 7 #include "ash/wm/common/dock/docked_window_layout_manager.h"
9 #include "ash/wm/common/window_parenting_utils.h" 8 #include "ash/wm/common/window_parenting_utils.h"
10 #include "ash/wm/common/window_state.h" 9 #include "ash/wm/common/window_state.h"
11 #include "ash/wm/common/wm_event.h" 10 #include "ash/wm/common/wm_event.h"
12 #include "ash/wm/common/wm_root_window_controller.h" 11 #include "ash/wm/common/wm_root_window_controller.h"
12 #include "ash/wm/common/wm_shell_window_ids.h"
13 #include "ash/wm/common/wm_window.h" 13 #include "ash/wm/common/wm_window.h"
14 #include "ash/wm/workspace/magnetism_matcher.h" 14 #include "ash/wm/workspace/magnetism_matcher.h"
15 #include "ui/base/hit_test.h" 15 #include "ui/base/hit_test.h"
16 #include "ui/base/ui_base_types.h" 16 #include "ui/base/ui_base_types.h"
17 #include "ui/gfx/screen.h" 17 #include "ui/gfx/screen.h"
18 18
19 namespace ash { 19 namespace ash {
20 namespace { 20 namespace {
21 21
22 DockedWindowLayoutManager* GetDockedLayoutManagerAtPoint( 22 DockedWindowLayoutManager* GetDockedLayoutManagerAtPoint(
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 } else if (window->GetWindowState()->IsDocked() && 310 } else if (window->GetWindowState()->IsDocked() &&
311 action == DOCKED_ACTION_UNDOCK) { 311 action == DOCKED_ACTION_UNDOCK) {
312 const wm::WMEvent event(wm::WM_EVENT_NORMAL); 312 const wm::WMEvent event(wm::WM_EVENT_NORMAL);
313 window_state_->OnWMEvent(&event); 313 window_state_->OnWMEvent(&event);
314 } 314 }
315 315
316 return action; 316 return action;
317 } 317 }
318 318
319 } // namespace ash 319 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698