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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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) 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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/web_page_view.cc ('k') | chrome/browser/chromeos/setting_level_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698