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

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

Issue 9699067: Remove IME support from chromeos/login/html_page_screen.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/html_page_screen.cc
diff --git a/chrome/browser/chromeos/login/html_page_screen.cc b/chrome/browser/chromeos/login/html_page_screen.cc
index 56eab213de8b35128c1f9d356db0fa4bf7b38bda..7125f3938864293fb1455d689e83a961bfc010e3 100644
--- a/chrome/browser/chromeos/login/html_page_screen.cc
+++ b/chrome/browser/chromeos/login/html_page_screen.cc
@@ -6,9 +6,6 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chromeos/input_method/input_method_manager.h"
-#include "chrome/browser/chromeos/input_method/input_method_util.h"
#include "chrome/browser/chromeos/login/screen_observer.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "content/public/browser/render_view_host.h"
@@ -71,14 +68,6 @@ void HTMLPageScreen::OnNetworkTimeout() {
VLOG(1) << "HTMLPageScreen::OnNetworkTimeout";
// Just show what we have now. We shouldn't exit from the screen on timeout.
StopTimeoutTimer();
- // Enable input methods (e.g. Chinese, Japanese) so that users could input
- // their first and last names.
- if (g_browser_process) {
- const std::string locale = g_browser_process->GetApplicationLocale();
- input_method::InputMethodManager* manager =
- input_method::InputMethodManager::GetInstance();
- manager->EnableInputMethods(locale, input_method::kAllInputMethods, "");
- }
view()->ShowPageContent();
}
@@ -86,14 +75,6 @@ void HTMLPageScreen::OnNetworkTimeout() {
// HTMLPageScreen, private:
void HTMLPageScreen::CloseScreen(ScreenObserver::ExitCodes code) {
StopTimeoutTimer();
- // Disable input methods since they are not necessary to input username and
- // password.
- if (g_browser_process) {
- const std::string locale = g_browser_process->GetApplicationLocale();
- input_method::InputMethodManager* manager =
- input_method::InputMethodManager::GetInstance();
- manager->EnableInputMethods(locale, input_method::kKeyboardLayoutsOnly, "");
- }
delegate()->GetObserver()->OnExit(code);
}
« 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