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

Unified Diff: ui/views/ime/mock_input_method.h

Issue 648393006: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « ui/views/ime/input_method_bridge.cc ('k') | ui/views/ime/null_input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/mock_input_method.h
diff --git a/ui/views/ime/mock_input_method.h b/ui/views/ime/mock_input_method.h
index e55c4df77742b508425ab64d50e02989955b64e7..19d8dc5f750b5ee769d0af956b3758d2be51787b 100644
--- a/ui/views/ime/mock_input_method.h
+++ b/ui/views/ime/mock_input_method.h
@@ -20,24 +20,24 @@ class VIEWS_EXPORT MockInputMethod : public InputMethodBase {
public:
MockInputMethod();
explicit MockInputMethod(internal::InputMethodDelegate* delegate);
- virtual ~MockInputMethod();
+ ~MockInputMethod() override;
// Overridden from InputMethod:
- virtual void Init(Widget* widget) override;
- virtual void OnFocus() override;
- virtual void OnBlur() override;
- virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
- NativeEventResult* result) override;
- virtual void DispatchKeyEvent(const ui::KeyEvent& key) override;
- virtual void OnTextInputTypeChanged(View* view) override;
- virtual void OnCaretBoundsChanged(View* view) override;
- virtual void CancelComposition(View* view) override;
- virtual void OnInputLocaleChanged() override;
- virtual std::string GetInputLocale() override;
- virtual bool IsActive() override;
- virtual bool IsCandidatePopupOpen() const override;
- virtual void ShowImeIfNeeded() override;
- virtual bool IsMock() const override;
+ void Init(Widget* widget) override;
+ void OnFocus() override;
+ void OnBlur() override;
+ bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
+ NativeEventResult* result) override;
+ void DispatchKeyEvent(const ui::KeyEvent& key) override;
+ void OnTextInputTypeChanged(View* view) override;
+ void OnCaretBoundsChanged(View* view) override;
+ void CancelComposition(View* view) override;
+ void OnInputLocaleChanged() override;
+ std::string GetInputLocale() override;
+ bool IsActive() override;
+ bool IsCandidatePopupOpen() const override;
+ void ShowImeIfNeeded() override;
+ bool IsMock() const override;
bool focus_changed() const { return focus_changed_; }
bool untranslated_ime_message_called() const {
@@ -59,7 +59,7 @@ class VIEWS_EXPORT MockInputMethod : public InputMethodBase {
private:
// Overridden from InputMethodBase.
- virtual void OnWillChangeFocus(View* focused_before, View* focused) override;
+ void OnWillChangeFocus(View* focused_before, View* focused) override;
// Clears boolean states defined below.
void ClearStates();
« no previous file with comments | « ui/views/ime/input_method_bridge.cc ('k') | ui/views/ime/null_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698