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

Side by Side Diff: chrome/browser/chromeos/ui/setting_level_bubble.cc

Issue 10271002: browser: Remove window.{cc,h} module completely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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 "chrome/browser/chromeos/ui/setting_level_bubble.h" 5 #include "chrome/browser/chromeos/ui/setting_level_bubble.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
11 #include "chrome/browser/chromeos/login/base_login_display_host.h" 11 #include "chrome/browser/chromeos/login/base_login_display_host.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/login_utils.h" 13 #include "chrome/browser/chromeos/login/login_utils.h"
14 #include "chrome/browser/chromeos/login/webui_login_display.h" 14 #include "chrome/browser/chromeos/login/webui_login_display.h"
15 #include "chrome/browser/chromeos/ui/setting_level_bubble_view.h" 15 #include "chrome/browser/chromeos/ui/setting_level_bubble_view.h"
16 #include "chrome/browser/profiles/profile_manager.h" 16 #include "chrome/browser/profiles/profile_manager.h"
17 #include "chrome/browser/ui/browser.h" 17 #include "chrome/browser/ui/browser.h"
18 #include "chrome/browser/ui/browser_list.h" 18 #include "chrome/browser/ui/browser_list.h"
19 #include "chrome/browser/ui/browser_window.h" 19 #include "chrome/browser/ui/browser_window.h"
20 #include "chrome/browser/ui/views/window.h"
21 #include "ui/gfx/screen.h" 20 #include "ui/gfx/screen.h"
22 #include "ui/views/bubble/bubble_delegate.h" 21 #include "ui/views/bubble/bubble_delegate.h"
23 #include "ui/views/layout/fill_layout.h" 22 #include "ui/views/layout/fill_layout.h"
24 #include "ui/views/widget/root_view.h" 23 #include "ui/views/widget/root_view.h"
25 24
26 using base::TimeDelta; 25 using base::TimeDelta;
27 using base::TimeTicks; 26 using base::TimeTicks;
28 using std::max; 27 using std::max;
29 using std::min; 28 using std::min;
30 29
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 261
263 last_target_update_time_ = now; 262 last_target_update_time_ = now;
264 } 263 }
265 264
266 void SettingLevelBubble::StopAnimation() { 265 void SettingLevelBubble::StopAnimation() {
267 animation_timer_.Stop(); 266 animation_timer_.Stop();
268 is_animating_ = false; 267 is_animating_ = false;
269 } 268 }
270 269
271 } // namespace chromeos 270 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/data_promo_notification.cc ('k') | chrome/browser/ui/views/extensions/extension_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698