OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/setting_level_bubble.h" | 5 #include "chrome/browser/chromeos/setting_level_bubble.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "chrome/browser/chromeos/login/background_view.h" | 9 #include "chrome/browser/chromeos/login/background_view.h" |
10 #include "chrome/browser/chromeos/login/base_login_display_host.h" | 10 #include "chrome/browser/chromeos/login/base_login_display_host.h" |
11 #include "chrome/browser/chromeos/login/login_utils.h" | 11 #include "chrome/browser/chromeos/login/login_utils.h" |
12 #include "chrome/browser/chromeos/login/login_display_host.h" | 12 #include "chrome/browser/chromeos/login/login_display_host.h" |
13 #include "chrome/browser/chromeos/login/webui_login_display.h" | 13 #include "chrome/browser/chromeos/login/webui_login_display.h" |
14 #include "chrome/browser/chromeos/setting_level_bubble_view.h" | 14 #include "chrome/browser/chromeos/setting_level_bubble_view.h" |
15 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/browser_list.h" | 17 #include "chrome/browser/ui/browser_list.h" |
18 #include "chrome/browser/ui/browser_window.h" | 18 #include "chrome/browser/ui/browser_window.h" |
19 #include "ui/gfx/screen.h" | 19 #include "ui/gfx/screen.h" |
20 #include "views/bubble/bubble_delegate.h" | 20 #include "views/bubble/bubble_delegate.h" |
21 #include "views/layout/fill_layout.h" | 21 #include "views/layout/fill_layout.h" |
22 #include "views/widget/root_view.h" | 22 #include "views/widget/root_view.h" |
23 | 23 |
24 #if !defined(USE_AURA) | 24 #if !defined(USE_AURA) |
25 #include "chrome/browser/chromeos/wm_ipc.h" | 25 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h" |
26 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" | 26 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" |
27 #endif | 27 #endif |
28 | 28 |
29 using base::TimeDelta; | 29 using base::TimeDelta; |
30 using base::TimeTicks; | 30 using base::TimeTicks; |
31 using std::max; | 31 using std::max; |
32 using std::min; | 32 using std::min; |
33 | 33 |
34 namespace { | 34 namespace { |
35 | 35 |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 321 |
322 last_target_update_time_ = now; | 322 last_target_update_time_ = now; |
323 } | 323 } |
324 | 324 |
325 void SettingLevelBubble::StopAnimation() { | 325 void SettingLevelBubble::StopAnimation() { |
326 animation_timer_.Stop(); | 326 animation_timer_.Stop(); |
327 is_animating_ = false; | 327 is_animating_ = false; |
328 } | 328 } |
329 | 329 |
330 } // namespace chromeos | 330 } // namespace chromeos |
OLD | NEW |