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

Side by Side Diff: ash/wm/panels/panel_layout_manager.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/panels/panel_layout_manager.h" 5 #include "ash/wm/panels/panel_layout_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 9
10 #include "ash/screen_util.h" 10 #include "ash/screen_util.h"
(...skipping 14 matching lines...) Expand all
25 #include "third_party/skia/include/core/SkPaint.h" 25 #include "third_party/skia/include/core/SkPaint.h"
26 #include "third_party/skia/include/core/SkPath.h" 26 #include "third_party/skia/include/core/SkPath.h"
27 #include "ui/aura/client/focus_client.h" 27 #include "ui/aura/client/focus_client.h"
28 #include "ui/aura/client/window_tree_client.h" 28 #include "ui/aura/client/window_tree_client.h"
29 #include "ui/aura/window.h" 29 #include "ui/aura/window.h"
30 #include "ui/aura/window_delegate.h" 30 #include "ui/aura/window_delegate.h"
31 #include "ui/aura/window_event_dispatcher.h" 31 #include "ui/aura/window_event_dispatcher.h"
32 #include "ui/aura/window_tracker.h" 32 #include "ui/aura/window_tracker.h"
33 #include "ui/compositor/scoped_layer_animation_settings.h" 33 #include "ui/compositor/scoped_layer_animation_settings.h"
34 #include "ui/gfx/canvas.h" 34 #include "ui/gfx/canvas.h"
35 #include "ui/gfx/geometry/vector2d.h"
35 #include "ui/gfx/rect.h" 36 #include "ui/gfx/rect.h"
36 #include "ui/gfx/vector2d.h"
37 #include "ui/views/background.h" 37 #include "ui/views/background.h"
38 #include "ui/views/widget/widget.h" 38 #include "ui/views/widget/widget.h"
39 #include "ui/wm/public/activation_client.h" 39 #include "ui/wm/public/activation_client.h"
40 40
41 namespace ash { 41 namespace ash {
42 namespace { 42 namespace {
43 43
44 const int kPanelIdealSpacing = 4; 44 const int kPanelIdealSpacing = 4;
45 45
46 const float kMaxHeightFactor = .80f; 46 const float kMaxHeightFactor = .80f;
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 // Keyboard hidden, restore original bounds if they exist. 932 // Keyboard hidden, restore original bounds if they exist.
933 SetChildBounds(panel, panel_state->GetRestoreBoundsInScreen()); 933 SetChildBounds(panel, panel_state->GetRestoreBoundsInScreen());
934 } 934 }
935 } 935 }
936 // This bounds change will have caused a change to the Shelf which does not 936 // This bounds change will have caused a change to the Shelf which does not
937 // propogate automatically to this class, so manually recalculate bounds. 937 // propogate automatically to this class, so manually recalculate bounds.
938 OnWindowResized(); 938 OnWindowResized();
939 } 939 }
940 940
941 } // namespace ash 941 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698