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

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

Issue 2774004: Disable language menu during sign in process. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/new_user_view.h" 5 #include "chrome/browser/chromeos/login/new_user_view.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 return true; 363 return true;
364 } else { 364 } else {
365 delegate_->ClearErrors(); 365 delegate_->ClearErrors();
366 return false; 366 return false;
367 } 367 }
368 // Return false so that processing does not end 368 // Return false so that processing does not end
369 return false; 369 return false;
370 } 370 }
371 371
372 void NewUserView::EnableInputControls(bool enabled) { 372 void NewUserView::EnableInputControls(bool enabled) {
373 languages_menubutton_->SetEnabled(enabled);
373 username_field_->SetEnabled(enabled); 374 username_field_->SetEnabled(enabled);
374 password_field_->SetEnabled(enabled); 375 password_field_->SetEnabled(enabled);
375 sign_in_button_->SetEnabled(enabled); 376 sign_in_button_->SetEnabled(enabled);
376 create_account_link_->SetEnabled(enabled); 377 create_account_link_->SetEnabled(enabled);
377 browse_without_signin_link_->SetEnabled(enabled); 378 browse_without_signin_link_->SetEnabled(enabled);
378 } 379 }
379 380
380 } // namespace chromeos 381 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698