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

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

Issue 796693005: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/input_method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/input_method/mode_indicator_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/textinput_test_helper.h
diff --git a/chrome/browser/chromeos/input_method/textinput_test_helper.h b/chrome/browser/chromeos/input_method/textinput_test_helper.h
index 229510777567b608c53f01a0ba39cdd673507f10..bd71f714ba33fd3e476526d16fb2493c23a1aed5 100644
--- a/chrome/browser/chromeos/input_method/textinput_test_helper.h
+++ b/chrome/browser/chromeos/input_method/textinput_test_helper.h
@@ -21,9 +21,10 @@ namespace chromeos {
class TextInputTestBase : public InProcessBrowserTest {
public:
TextInputTestBase() {}
- virtual ~TextInputTestBase() {}
+ ~TextInputTestBase() override {}
+
+ void SetUpInProcessBrowserTestFixture() override;
- virtual void SetUpInProcessBrowserTestFixture() override;
private:
DISALLOW_COPY_AND_ASSIGN(TextInputTestBase);
};
@@ -32,7 +33,7 @@ class TextInputTestBase : public InProcessBrowserTest {
class TextInputTestHelper : public ui::InputMethodObserver {
public:
TextInputTestHelper();
- virtual ~TextInputTestHelper();
+ ~TextInputTestHelper() override;
// Returns the latest status notified to ui::InputMethod
base::string16 GetSurroundingText() const;
@@ -71,16 +72,13 @@ class TextInputTestHelper : public ui::InputMethodObserver {
};
// ui::InputMethodObserver overrides.
- virtual void OnTextInputTypeChanged(
- const ui::TextInputClient* client) override;
- virtual void OnFocus() override;
- virtual void OnBlur() override;
- virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
- virtual void OnTextInputStateChanged(
- const ui::TextInputClient* client) override;
- virtual void OnShowImeIfNeeded() override;
- virtual void OnInputMethodDestroyed(
- const ui::InputMethod* input_method) override;
+ void OnTextInputTypeChanged(const ui::TextInputClient* client) override;
+ void OnFocus() override;
+ void OnBlur() override;
+ void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
+ void OnTextInputStateChanged(const ui::TextInputClient* client) override;
+ void OnShowImeIfNeeded() override;
+ void OnInputMethodDestroyed(const ui::InputMethod* input_method) override;
// Represents waiting type of text input event.
WaitImeEventType waiting_type_;
« no previous file with comments | « chrome/browser/chromeos/input_method/mode_indicator_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698