diff options
| author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 16:52:21 +0000 |
|---|---|---|
| committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 16:52:21 +0000 |
| commit | 49fd7e2236c370b3affab9788fa5fc4c998729a1 (patch) | |
| tree | 204eaa4196e3e9a6b173253a146b9104f0108da2 /chrome/browser/translate/options_menu_model.h | |
| parent | 0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (diff) | |
| download | chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.zip chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.gz chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.bz2 | |
Add OVERRIDE to chrome/browser/.
BUG=104314
TEST=no change
Review URL: http://codereview.chromium.org/8614003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/translate/options_menu_model.h')
| -rw-r--r-- | chrome/browser/translate/options_menu_model.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/translate/options_menu_model.h b/chrome/browser/translate/options_menu_model.h index 83f0f4e..308f717 100644 --- a/chrome/browser/translate/options_menu_model.h +++ b/chrome/browser/translate/options_menu_model.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -19,11 +19,12 @@ class OptionsMenuModel : public ui::SimpleMenuModel, virtual ~OptionsMenuModel(); // ui::SimpleMenuModel::Delegate implementation: - virtual bool IsCommandIdChecked(int command_id) const; - virtual bool IsCommandIdEnabled(int command_id) const; - virtual bool GetAcceleratorForCommandId(int command_id, - ui::Accelerator* accelerator); - virtual void ExecuteCommand(int command_id); + virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; + virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; + virtual bool GetAcceleratorForCommandId( + int command_id, + ui::Accelerator* accelerator) OVERRIDE; + virtual void ExecuteCommand(int command_id) OVERRIDE; private: TranslateInfoBarDelegate* translate_infobar_delegate_; |
