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

Unified Diff: chrome/browser/chromeos/input_method/textinput_test_helper.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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
Index: chrome/browser/chromeos/input_method/textinput_test_helper.cc
diff --git a/chrome/browser/chromeos/input_method/textinput_test_helper.cc b/chrome/browser/chromeos/input_method/textinput_test_helper.cc
index 2bf57120eacd731d8b757b60edc57b667bb65901..51327249fc561fadfd87477eb8be10ee3984aec1 100644
--- a/chrome/browser/chromeos/input_method/textinput_test_helper.cc
+++ b/chrome/browser/chromeos/input_method/textinput_test_helper.cc
@@ -75,7 +75,7 @@ void TextInputTestHelper::OnTextInputTypeChanged(
const ui::TextInputClient* client) {
latest_text_input_type_ = client->GetTextInputType();
if (waiting_type_ == WAIT_ON_TEXT_INPUT_TYPE_CHANGED)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void TextInputTestHelper::OnInputMethodDestroyed(
@@ -85,13 +85,13 @@ void TextInputTestHelper::OnInputMethodDestroyed(
void TextInputTestHelper::OnFocus() {
focus_state_ = true;
if (waiting_type_ == WAIT_ON_FOCUS)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void TextInputTestHelper::OnBlur() {
focus_state_ = false;
if (waiting_type_ == WAIT_ON_BLUR)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void TextInputTestHelper::OnCaretBoundsChanged(
@@ -102,7 +102,7 @@ void TextInputTestHelper::OnCaretBoundsChanged(
!GetTextInputClient()->GetSelectionRange(&selection_range_))
return;
if (waiting_type_ == WAIT_ON_CARET_BOUNDS_CHANGED)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
}
void TextInputTestHelper::OnTextInputStateChanged(

Powered by Google App Engine
This is Rietveld 408576698