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_display_host.h" | 11 #include "chrome/browser/chromeos/login/login_display_host.h" |
12 #include "chrome/browser/chromeos/login/login_utils.h" | 12 #include "chrome/browser/chromeos/login/login_utils.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 "ui/views/bubble/bubble_delegate.h" | 20 #include "ui/views/bubble/bubble_delegate.h" |
21 #include "ui/views/layout/fill_layout.h" | 21 #include "ui/views/layout/fill_layout.h" |
22 #include "views/widget/root_view.h" | 22 #include "ui/views/widget/root_view.h" |
23 | 23 |
24 #if !defined(USE_AURA) | 24 #if !defined(USE_AURA) |
25 #include "chrome/browser/chromeos/legacy_window_manager/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; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 271 |
272 last_target_update_time_ = now; | 272 last_target_update_time_ = now; |
273 } | 273 } |
274 | 274 |
275 void SettingLevelBubble::StopAnimation() { | 275 void SettingLevelBubble::StopAnimation() { |
276 animation_timer_.Stop(); | 276 animation_timer_.Stop(); |
277 is_animating_ = false; | 277 is_animating_ = false; |
278 } | 278 } |
279 | 279 |
280 } // namespace chromeos | 280 } // namespace chromeos |
OLD | NEW |