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

Unified Diff: chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
Index: chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc
diff --git a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc
index 1276da2ac84dcbe9b42f41a2840d5642819543e0..80d810edb9444956356d3ee82a2bb7edab330e5a 100644
--- a/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc
+++ b/chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc
@@ -42,43 +42,43 @@ class MockRenderViewContextMenu : public ui::SimpleMenuModel::Delegate,
virtual ~MockRenderViewContextMenu() {}
// SimpleMenuModel::Delegate implementation.
- virtual bool IsCommandIdChecked(int command_id) const OVERRIDE {
+ virtual bool IsCommandIdChecked(int command_id) const override {
return observer_->IsCommandIdChecked(command_id);
}
- virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE {
+ virtual bool IsCommandIdEnabled(int command_id) const override {
return observer_->IsCommandIdEnabled(command_id);
}
- virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE {
+ virtual void ExecuteCommand(int command_id, int event_flags) override {
observer_->ExecuteCommand(command_id);
}
- virtual void MenuWillShow(ui::SimpleMenuModel* source) OVERRIDE {}
- virtual void MenuClosed(ui::SimpleMenuModel* source) OVERRIDE {}
+ virtual void MenuWillShow(ui::SimpleMenuModel* source) override {}
+ virtual void MenuClosed(ui::SimpleMenuModel* source) override {}
virtual bool GetAcceleratorForCommandId(
int command_id,
- ui::Accelerator* accelerator) OVERRIDE {
+ ui::Accelerator* accelerator) override {
return false;
}
// RenderViewContextMenuProxy implementation.
virtual void AddMenuItem(int command_id,
- const base::string16& title) OVERRIDE {}
+ const base::string16& title) override {}
virtual void AddCheckItem(int command_id,
- const base::string16& title) OVERRIDE {}
- virtual void AddSeparator() OVERRIDE {}
+ const base::string16& title) override {}
+ virtual void AddSeparator() override {}
virtual void AddSubMenu(int command_id,
const base::string16& label,
- ui::MenuModel* model) OVERRIDE {}
+ ui::MenuModel* model) override {}
virtual void UpdateMenuItem(int command_id,
bool enabled,
bool hidden,
- const base::string16& title) OVERRIDE {}
- virtual RenderViewHost* GetRenderViewHost() const OVERRIDE {
+ const base::string16& title) override {}
+ virtual RenderViewHost* GetRenderViewHost() const override {
return NULL;
}
- virtual content::BrowserContext* GetBrowserContext() const OVERRIDE {
+ virtual content::BrowserContext* GetBrowserContext() const override {
return profile_.get();
}
- virtual content::WebContents* GetWebContents() const OVERRIDE {
+ virtual content::WebContents* GetWebContents() const override {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698