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

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

Issue 802473003: Fix references to ui/gfx headers in a*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 unified diff | Download patch
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/drag_details.h » ('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/screen_util.h" 7 #include "ash/screen_util.h"
8 #include "ash/shelf/shelf.h" 8 #include "ash/shelf/shelf.h"
9 #include "ash/shelf/shelf_constants.h" 9 #include "ash/shelf/shelf_constants.h"
10 #include "ash/shelf/shelf_layout_manager.h" 10 #include "ash/shelf/shelf_layout_manager.h"
(...skipping 15 matching lines...) Expand all
26 #include "third_party/skia/include/core/SkColor.h" 26 #include "third_party/skia/include/core/SkColor.h"
27 #include "third_party/skia/include/core/SkPaint.h" 27 #include "third_party/skia/include/core/SkPaint.h"
28 #include "ui/aura/client/focus_client.h" 28 #include "ui/aura/client/focus_client.h"
29 #include "ui/aura/client/window_tree_client.h" 29 #include "ui/aura/client/window_tree_client.h"
30 #include "ui/aura/window.h" 30 #include "ui/aura/window.h"
31 #include "ui/aura/window_delegate.h" 31 #include "ui/aura/window_delegate.h"
32 #include "ui/aura/window_event_dispatcher.h" 32 #include "ui/aura/window_event_dispatcher.h"
33 #include "ui/base/resource/resource_bundle.h" 33 #include "ui/base/resource/resource_bundle.h"
34 #include "ui/compositor/scoped_layer_animation_settings.h" 34 #include "ui/compositor/scoped_layer_animation_settings.h"
35 #include "ui/gfx/canvas.h" 35 #include "ui/gfx/canvas.h"
36 #include "ui/gfx/geometry/rect.h"
36 #include "ui/gfx/image/image_skia_operations.h" 37 #include "ui/gfx/image/image_skia_operations.h"
37 #include "ui/gfx/rect.h"
38 #include "ui/views/background.h" 38 #include "ui/views/background.h"
39 #include "ui/wm/core/window_util.h" 39 #include "ui/wm/core/window_util.h"
40 #include "ui/wm/public/activation_client.h" 40 #include "ui/wm/public/activation_client.h"
41 41
42 namespace ash { 42 namespace ash {
43 43
44 // Minimum, maximum width of the dock area and a width of the gap 44 // Minimum, maximum width of the dock area and a width of the gap
45 // static 45 // static
46 const int DockedWindowLayoutManager::kMaxDockWidth = 360; 46 const int DockedWindowLayoutManager::kMaxDockWidth = 360;
47 // static 47 // static
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 1362
1363 void DockedWindowLayoutManager::OnKeyboardBoundsChanging( 1363 void DockedWindowLayoutManager::OnKeyboardBoundsChanging(
1364 const gfx::Rect& keyboard_bounds) { 1364 const gfx::Rect& keyboard_bounds) {
1365 // This bounds change will have caused a change to the Shelf which does not 1365 // This bounds change will have caused a change to the Shelf which does not
1366 // propagate automatically to this class, so manually recalculate bounds. 1366 // propagate automatically to this class, so manually recalculate bounds.
1367 Relayout(); 1367 Relayout();
1368 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING); 1368 UpdateDockBounds(DockedWindowLayoutManagerObserver::KEYBOARD_BOUNDS_CHANGING);
1369 } 1369 }
1370 1370
1371 } // namespace ash 1371 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager.h ('k') | ash/wm/drag_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698