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

Unified Diff: chrome/browser/chromeos/options/passphrase_textfield.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/magnifier/magnification_controller_unittest.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/passphrase_textfield.cc
diff --git a/chrome/browser/chromeos/options/passphrase_textfield.cc b/chrome/browser/chromeos/options/passphrase_textfield.cc
index cea7ffad1c17d24ae4f9adfc34cf4524c8ec89a0..8267edf5046678cbe4c96755cd855b3eb2b0112a 100644
--- a/chrome/browser/chromeos/options/passphrase_textfield.cc
+++ b/chrome/browser/chromeos/options/passphrase_textfield.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/chromeos/options/passphrase_textfield.h"
#include "base/strings/utf_string_conversions.h"
-#include "ui/views/ime/input_method.h"
namespace chromeos {
@@ -29,7 +28,6 @@ void PassphraseTextfield::OnFocus() {
if (show_fake_ && !changed_)
ClearFakePassphrase();
Textfield::OnFocus();
- GetInputMethod()->OnFocus();
}
void PassphraseTextfield::OnBlur() {
@@ -37,7 +35,6 @@ void PassphraseTextfield::OnBlur() {
if (show_fake_ && text().empty())
SetFakePassphrase();
Textfield::OnBlur();
- GetInputMethod()->OnFocus();
}
std::string PassphraseTextfield::GetPassphrase() {
« no previous file with comments | « ash/magnifier/magnification_controller_unittest.cc ('k') | chrome/browser/ui/views/find_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698