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

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

Issue 1920153003: Starts splitting out shell window ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prune_docked_layout_deps
Patch Set: merge 2 trunk 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
« no previous file with comments | « ash/wm/common/wm_window.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_layout_manager.h" 5 #include "ash/wm/dock/docked_window_layout_manager.h"
6 6
7 #include "ash/shell_window_ids.h"
8 #include "ash/wm/common/shelf/wm_shelf.h" 7 #include "ash/wm/common/shelf/wm_shelf.h"
9 #include "ash/wm/common/shelf/wm_shelf_constants.h" 8 #include "ash/wm/common/shelf/wm_shelf_constants.h"
10 #include "ash/wm/common/shelf/wm_shelf_observer.h" 9 #include "ash/wm/common/shelf/wm_shelf_observer.h"
11 #include "ash/wm/common/window_animation_types.h" 10 #include "ash/wm/common/window_animation_types.h"
12 #include "ash/wm/common/window_parenting_utils.h" 11 #include "ash/wm/common/window_parenting_utils.h"
13 #include "ash/wm/common/wm_globals.h" 12 #include "ash/wm/common/wm_globals.h"
14 #include "ash/wm/common/wm_root_window_controller.h" 13 #include "ash/wm/common/wm_root_window_controller.h"
14 #include "ash/wm/common/wm_shell_window_ids.h"
15 #include "ash/wm/common/wm_window.h" 15 #include "ash/wm/common/wm_window.h"
16 #include "ash/wm/window_resizer.h" 16 #include "ash/wm/window_resizer.h"
17 #include "ash/wm/window_state.h" 17 #include "ash/wm/window_state.h"
18 #include "base/auto_reset.h" 18 #include "base/auto_reset.h"
19 #include "base/metrics/histogram.h" 19 #include "base/metrics/histogram.h"
20 #include "grit/ash_resources.h" 20 #include "grit/ash_resources.h"
21 #include "third_party/skia/include/core/SkColor.h" 21 #include "third_party/skia/include/core/SkColor.h"
22 #include "third_party/skia/include/core/SkPaint.h" 22 #include "third_party/skia/include/core/SkPaint.h"
23 #include "ui/base/resource/resource_bundle.h" 23 #include "ui/base/resource/resource_bundle.h"
24 #include "ui/compositor/paint_recorder.h" 24 #include "ui/compositor/paint_recorder.h"
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1325
1326 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( 1326 void DockedWindowLayoutManager::OnKeyboardBoundsChanging(
1327 const gfx::Rect& keyboard_bounds) { 1327 const gfx::Rect& keyboard_bounds) {
1328 // This bounds change will have caused a change to the Shelf which does not 1328 // This bounds change will have caused a change to the Shelf which does not
1329 // propagate automatically to this class, so manually recalculate bounds. 1329 // propagate automatically to this class, so manually recalculate bounds.
1330 Relayout(); 1330 Relayout();
1331 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); 1331 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING);
1332 } 1332 }
1333 1333
1334 } // namespace ash 1334 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/common/wm_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698