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_layout_manager.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/ash_native_cursor_manager.h ('k') | ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | 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/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/screen_util.h" 8 #include "ash/screen_util.h"
9 #include "ash/shelf/shelf.h" 9 #include "ash/shelf/shelf.h"
10 #include "ash/shelf/shelf_constants.h" 10 #include "ash/shelf/shelf_constants.h"
(...skipping 20 matching lines...) Expand all
31 #include "ui/aura/client/window_tree_client.h" 31 #include "ui/aura/client/window_tree_client.h"
32 #include "ui/aura/window.h" 32 #include "ui/aura/window.h"
33 #include "ui/aura/window_delegate.h" 33 #include "ui/aura/window_delegate.h"
34 #include "ui/aura/window_event_dispatcher.h" 34 #include "ui/aura/window_event_dispatcher.h"
35 #include "ui/base/resource/resource_bundle.h" 35 #include "ui/base/resource/resource_bundle.h"
36 #include "ui/compositor/scoped_layer_animation_settings.h" 36 #include "ui/compositor/scoped_layer_animation_settings.h"
37 #include "ui/gfx/canvas.h" 37 #include "ui/gfx/canvas.h"
38 #include "ui/gfx/image/image_skia_operations.h" 38 #include "ui/gfx/image/image_skia_operations.h"
39 #include "ui/gfx/rect.h" 39 #include "ui/gfx/rect.h"
40 #include "ui/views/background.h" 40 #include "ui/views/background.h"
41 #include "ui/views/corewm/window_util.h" 41 #include "ui/wm/core/window_util.h"
42 42
43 namespace ash { 43 namespace ash {
44 namespace internal { 44 namespace internal {
45 45
46 // Minimum, maximum width of the dock area and a width of the gap 46 // Minimum, maximum width of the dock area and a width of the gap
47 // static 47 // static
48 const int DockedWindowLayoutManager::kMaxDockWidth = 360; 48 const int DockedWindowLayoutManager::kMaxDockWidth = 360;
49 // static 49 // static
50 const int DockedWindowLayoutManager::kMinDockWidth = 200; 50 const int DockedWindowLayoutManager::kMinDockWidth = 200;
51 // static 51 // static
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( 1311 void DockedWindowLayoutManager::OnKeyboardBoundsChanging(
1312 const gfx::Rect& keyboard_bounds) { 1312 const gfx::Rect& keyboard_bounds) {
1313 // This bounds change will have caused a change to the Shelf which does not 1313 // This bounds change will have caused a change to the Shelf which does not
1314 // propagate automatically to this class, so manually recalculate bounds. 1314 // propagate automatically to this class, so manually recalculate bounds.
1315 Relayout(); 1315 Relayout();
1316 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); 1316 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING);
1317 } 1317 }
1318 1318
1319 } // namespace internal 1319 } // namespace internal
1320 } // namespace ash 1320 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/ash_native_cursor_manager.h ('k') | ash/wm/dock/docked_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698