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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 8396032: Make user remove button focusable, and set up the correct tab order. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code Review fix Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/user_pod_template.html ('k') | 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) 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/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 if (key_event_listener_) 237 if (key_event_listener_)
238 key_event_listener_->RemoveCapsLockObserver(this); 238 key_event_listener_->RemoveCapsLockObserver(this);
239 } 239 }
240 240
241 void SigninScreenHandler::GetLocalizedStrings( 241 void SigninScreenHandler::GetLocalizedStrings(
242 DictionaryValue* localized_strings) { 242 DictionaryValue* localized_strings) {
243 localized_strings->SetString("signinScreenTitle", 243 localized_strings->SetString("signinScreenTitle",
244 l10n_util::GetStringUTF16(IDS_SIGNIN_SCREEN_TITLE)); 244 l10n_util::GetStringUTF16(IDS_SIGNIN_SCREEN_TITLE));
245 localized_strings->SetString("passwordHint", 245 localized_strings->SetString("passwordHint",
246 l10n_util::GetStringUTF16(IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT)); 246 l10n_util::GetStringUTF16(IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT));
247 localized_strings->SetString("removeButtonAccessibleName",
248 l10n_util::GetStringUTF16(IDS_LOGIN_POD_REMOVE_BUTTON_ACCESSIBLE_NAME));
247 localized_strings->SetString("passwordFieldAccessibleName", 249 localized_strings->SetString("passwordFieldAccessibleName",
248 l10n_util::GetStringUTF16(IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME)); 250 l10n_util::GetStringUTF16(IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME));
249 localized_strings->SetString("signinButton", 251 localized_strings->SetString("signinButton",
250 l10n_util::GetStringUTF16(IDS_LOGIN_BUTTON)); 252 l10n_util::GetStringUTF16(IDS_LOGIN_BUTTON));
251 localized_strings->SetString("enterGuestButton", 253 localized_strings->SetString("enterGuestButton",
252 l10n_util::GetStringUTF16(IDS_ENTER_GUEST_SESSION_BUTTON)); 254 l10n_util::GetStringUTF16(IDS_ENTER_GUEST_SESSION_BUTTON));
253 localized_strings->SetString("enterGuestButtonAccessibleName", 255 localized_strings->SetString("enterGuestButtonAccessibleName",
254 l10n_util::GetStringUTF16( 256 l10n_util::GetStringUTF16(
255 IDS_ENTER_GUEST_SESSION_BUTTON_ACCESSIBLE_NAME)); 257 IDS_ENTER_GUEST_SESSION_BUTTON_ACCESSIBLE_NAME));
256 localized_strings->SetString("shutDown", 258 localized_strings->SetString("shutDown",
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 686
685 cookie_remover_ = new BrowsingDataRemover( 687 cookie_remover_ = new BrowsingDataRemover(
686 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), 688 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()),
687 BrowsingDataRemover::EVERYTHING, 689 BrowsingDataRemover::EVERYTHING,
688 base::Time()); 690 base::Time());
689 cookie_remover_->AddObserver(this); 691 cookie_remover_->AddObserver(this);
690 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); 692 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA);
691 } 693 }
692 694
693 } // namespace chromeos 695 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/user_pod_template.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698