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

Side by Side Diff: ash/wm/panels/panel_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/overview/window_selector_unittest.cc ('k') | ash/wm/screen_dimmer.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) 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/rect.h" 35 #include "ui/gfx/geometry/rect.h"
36 #include "ui/gfx/vector2d.h" 36 #include "ui/gfx/geometry/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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 // Keyboard hidden, restore original bounds if they exist. 936 // Keyboard hidden, restore original bounds if they exist.
937 SetChildBounds(panel, panel_state->GetRestoreBoundsInScreen()); 937 SetChildBounds(panel, panel_state->GetRestoreBoundsInScreen());
938 } 938 }
939 } 939 }
940 // This bounds change will have caused a change to the Shelf which does not 940 // This bounds change will have caused a change to the Shelf which does not
941 // propogate automatically to this class, so manually recalculate bounds. 941 // propogate automatically to this class, so manually recalculate bounds.
942 OnWindowResized(); 942 OnWindowResized();
943 } 943 }
944 944
945 } // namespace ash 945 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | ash/wm/screen_dimmer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698