OLD | NEW |
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/shelf/shelf_layout_manager.h" | 5 #include "ash/shelf/shelf_layout_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 #include <cstring> | 9 #include <cstring> |
10 #include <string> | 10 #include <string> |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "ash/wm/window_util.h" | 31 #include "ash/wm/window_util.h" |
32 #include "ash/wm/workspace_controller.h" | 32 #include "ash/wm/workspace_controller.h" |
33 #include "base/auto_reset.h" | 33 #include "base/auto_reset.h" |
34 #include "base/command_line.h" | 34 #include "base/command_line.h" |
35 #include "base/command_line.h" | 35 #include "base/command_line.h" |
36 #include "base/i18n/rtl.h" | 36 #include "base/i18n/rtl.h" |
37 #include "base/strings/string_number_conversions.h" | 37 #include "base/strings/string_number_conversions.h" |
38 #include "base/strings/string_util.h" | 38 #include "base/strings/string_util.h" |
39 #include "ui/aura/client/activation_client.h" | 39 #include "ui/aura/client/activation_client.h" |
40 #include "ui/aura/client/cursor_client.h" | 40 #include "ui/aura/client/cursor_client.h" |
41 #include "ui/aura/root_window.h" | 41 #include "ui/aura/window_event_dispatcher.h" |
42 #include "ui/base/ui_base_switches.h" | 42 #include "ui/base/ui_base_switches.h" |
43 #include "ui/compositor/layer.h" | 43 #include "ui/compositor/layer.h" |
44 #include "ui/compositor/layer_animation_observer.h" | 44 #include "ui/compositor/layer_animation_observer.h" |
45 #include "ui/compositor/layer_animator.h" | 45 #include "ui/compositor/layer_animator.h" |
46 #include "ui/compositor/scoped_layer_animation_settings.h" | 46 #include "ui/compositor/scoped_layer_animation_settings.h" |
47 #include "ui/events/event.h" | 47 #include "ui/events/event.h" |
48 #include "ui/events/event_handler.h" | 48 #include "ui/events/event_handler.h" |
49 #include "ui/gfx/screen.h" | 49 #include "ui/gfx/screen.h" |
50 #include "ui/views/widget/widget.h" | 50 #include "ui/views/widget/widget.h" |
51 | 51 |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 return gfx::Insets(0, distance, 0, 0); | 1167 return gfx::Insets(0, distance, 0, 0); |
1168 case SHELF_ALIGNMENT_TOP: | 1168 case SHELF_ALIGNMENT_TOP: |
1169 return gfx::Insets(0, 0, distance, 0); | 1169 return gfx::Insets(0, 0, distance, 0); |
1170 } | 1170 } |
1171 NOTREACHED(); | 1171 NOTREACHED(); |
1172 return gfx::Insets(); | 1172 return gfx::Insets(); |
1173 } | 1173 } |
1174 | 1174 |
1175 } // namespace internal | 1175 } // namespace internal |
1176 } // namespace ash | 1176 } // namespace ash |
OLD | NEW |