summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/languages_menu_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/translate/languages_menu_model.h')
-rw-r--r--chrome/browser/translate/languages_menu_model.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/translate/languages_menu_model.h b/chrome/browser/translate/languages_menu_model.h
index 74a16a0..a426543 100644
--- a/chrome/browser/translate/languages_menu_model.h
+++ b/chrome/browser/translate/languages_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.
@@ -24,11 +24,12 @@ class LanguagesMenuModel : public ui::SimpleMenuModel,
virtual ~LanguagesMenuModel();
// 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_;