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/login/wizard_controller.h" | 5 #include "chrome/browser/chromeos/login/wizard_controller.h" |
6 | 6 |
7 #include <gdk/gdk.h> | 7 #include <gdk/gdk.h> |
8 #include <signal.h> | 8 #include <signal.h> |
9 #include <sys/types.h> | 9 #include <sys/types.h> |
10 | 10 |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 | 495 |
496 smooth_show_timer_.Stop(); | 496 smooth_show_timer_.Stop(); |
497 | 497 |
498 if (current_screen_) | 498 if (current_screen_) |
499 oobe_display_->HideScreen(current_screen_); | 499 oobe_display_->HideScreen(current_screen_); |
500 | 500 |
501 current_screen_ = new_current; | 501 current_screen_ = new_current; |
502 | 502 |
503 if (use_smoothing) { | 503 if (use_smoothing) { |
504 smooth_show_timer_.Start( | 504 smooth_show_timer_.Start( |
| 505 FROM_HERE, |
505 base::TimeDelta::FromMilliseconds(kShowDelayMs), | 506 base::TimeDelta::FromMilliseconds(kShowDelayMs), |
506 this, | 507 this, |
507 &WizardController::ShowCurrentScreen); | 508 &WizardController::ShowCurrentScreen); |
508 } else { | 509 } else { |
509 ShowCurrentScreen(); | 510 ShowCurrentScreen(); |
510 } | 511 } |
511 } | 512 } |
512 | 513 |
513 void WizardController::SetStatusAreaVisible(bool visible) { | 514 void WizardController::SetStatusAreaVisible(bool visible) { |
514 host_->SetStatusAreaVisible(visible); | 515 host_->SetStatusAreaVisible(visible); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 | 704 |
704 bool WizardController::usage_statistics_reporting() const { | 705 bool WizardController::usage_statistics_reporting() const { |
705 return usage_statistics_reporting_; | 706 return usage_statistics_reporting_; |
706 } | 707 } |
707 | 708 |
708 void WizardController::SetZeroDelays() { | 709 void WizardController::SetZeroDelays() { |
709 kShowDelayMs = 0; | 710 kShowDelayMs = 0; |
710 } | 711 } |
711 | 712 |
712 } // namespace chromeos | 713 } // namespace chromeos |
OLD | NEW |