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

Unified Diff: chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc

Issue 2702393003: [ChromeOS] Expose keyboard remapping to signin screen. (Closed)
Patch Set: Address xiyuan@'s comments. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
index 472d8debcc465832350874ec618625d0f403651b..3e5b8d1b6df38f41b8e5e142e6c46c6ef3c673ac 100644
--- a/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc
@@ -43,15 +43,12 @@ void Append_en_US_InputMethods(std::vector<std::string>* out) {
class FocusPODWaiter {
public:
FocusPODWaiter() : focused_(false), runner_(new content::MessageLoopRunner) {
- GetOobeUI()
- ->signin_screen_handler_for_test()
- ->SetFocusPODCallbackForTesting(
- base::Bind(&FocusPODWaiter::OnFocusPOD, base::Unretained(this)));
+ GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
+ base::Bind(&FocusPODWaiter::OnFocusPOD, base::Unretained(this)));
}
~FocusPODWaiter() {
- GetOobeUI()
- ->signin_screen_handler_for_test()
- ->SetFocusPODCallbackForTesting(base::Closure());
+ GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
+ base::Closure());
}
void OnFocusPOD() {
@@ -70,9 +67,8 @@ class FocusPODWaiter {
if (focused_)
return;
runner_->Run();
- GetOobeUI()
- ->signin_screen_handler_for_test()
- ->SetFocusPODCallbackForTesting(base::Closure());
+ GetOobeUI()->signin_screen_handler()->SetFocusPODCallbackForTesting(
+ base::Closure());
runner_ = NULL;
}
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698