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

Unified Diff: win8/metro_driver/ime/input_source.cc

Issue 625073003: Replacing the OVERRIDE with override and FINAL with final in win8 folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected patchset-1 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 | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/text_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/input_source.cc
diff --git a/win8/metro_driver/ime/input_source.cc b/win8/metro_driver/ime/input_source.cc
index dd27380108d0622238011cbf67461a25b0de030e..9f549d77b4ca3a2023be2dab8410868b8ebb48a2 100644
--- a/win8/metro_driver/ime/input_source.cc
+++ b/win8/metro_driver/ime/input_source.cc
@@ -63,14 +63,14 @@ class ATL_NO_VTABLE InputSourceMonitor
private:
// ITfLanguageProfileNotifySink overrides:
- STDMETHOD(OnLanguageChange)(LANGID langid, BOOL *accept) OVERRIDE {
+ STDMETHOD(OnLanguageChange)(LANGID langid, BOOL *accept) override {
if (!accept)
return E_INVALIDARG;
*accept = TRUE;
return S_OK;
}
- STDMETHOD(OnLanguageChanged)() OVERRIDE {
+ STDMETHOD(OnLanguageChanged)() override {
if (!on_language_chanaged_.is_null())
on_language_chanaged_.Run();
return S_OK;
@@ -99,7 +99,7 @@ class InputSourceImpl : public InputSource {
private:
// InputSource overrides.
- virtual bool GetActiveSource(LANGID* langid, bool* is_ime) OVERRIDE {
+ virtual bool GetActiveSource(LANGID* langid, bool* is_ime) override {
TF_INPUTPROCESSORPROFILE profile = {};
HRESULT hr = profile_manager_->GetActiveProfile(GUID_TFCAT_TIP_KEYBOARD,
&profile);
@@ -112,10 +112,10 @@ class InputSourceImpl : public InputSource {
*is_ime = profile.dwProfileType == TF_PROFILETYPE_INPUTPROCESSOR;
return true;
}
- virtual void AddObserver(InputSourceObserver* observer) OVERRIDE {
+ virtual void AddObserver(InputSourceObserver* observer) override {
observer_list_.AddObserver(observer);
}
- virtual void RemoveObserver(InputSourceObserver* observer) OVERRIDE {
+ virtual void RemoveObserver(InputSourceObserver* observer) override {
observer_list_.RemoveObserver(observer);
}
void OnLanguageChanged() {
« no previous file with comments | « win8/metro_driver/ime/input_scope.cc ('k') | win8/metro_driver/ime/text_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698