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

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

Issue 7825026: Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, (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,
506 base::TimeDelta::FromMilliseconds(kShowDelayMs), 505 base::TimeDelta::FromMilliseconds(kShowDelayMs),
507 this, 506 this,
508 &WizardController::ShowCurrentScreen); 507 &WizardController::ShowCurrentScreen);
509 } else { 508 } else {
510 ShowCurrentScreen(); 509 ShowCurrentScreen();
511 } 510 }
512 } 511 }
513 512
514 void WizardController::SetStatusAreaVisible(bool visible) { 513 void WizardController::SetStatusAreaVisible(bool visible) {
515 host_->SetStatusAreaVisible(visible); 514 host_->SetStatusAreaVisible(visible);
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 703
705 bool WizardController::usage_statistics_reporting() const { 704 bool WizardController::usage_statistics_reporting() const {
706 return usage_statistics_reporting_; 705 return usage_statistics_reporting_;
707 } 706 }
708 707
709 void WizardController::SetZeroDelays() { 708 void WizardController::SetZeroDelays() {
710 kShowDelayMs = 0; 709 kShowDelayMs = 0;
711 } 710 }
712 711
713 } // namespace chromeos 712 } // 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