| Index: chrome/browser/notifications/notification_options_menu_model.h
|
| diff --git a/chrome/browser/notifications/notification_options_menu_model.h b/chrome/browser/notifications/notification_options_menu_model.h
|
| index 033f360809eed00fae574253851a5294c77fc2ad..bbdefb962943b343d74e3e181c82308d3bf8b6bb 100644
|
| --- a/chrome/browser/notifications/notification_options_menu_model.h
|
| +++ b/chrome/browser/notifications/notification_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.
|
|
|
| @@ -17,11 +17,12 @@ class CornerSelectionMenuModel : public ui::SimpleMenuModel,
|
| virtual ~CornerSelectionMenuModel();
|
|
|
| // Overridden from ui::SimpleMenuModel::Delegate:
|
| - 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:
|
| // Not owned.
|
| @@ -38,15 +39,16 @@ class NotificationOptionsMenuModel : public ui::SimpleMenuModel,
|
| virtual ~NotificationOptionsMenuModel();
|
|
|
| // Overridden from ui::SimpleMenuModel:
|
| - virtual bool IsItemForCommandIdDynamic(int command_id) const;
|
| - virtual string16 GetLabelForCommandId(int command_id) const;
|
| + virtual bool IsItemForCommandIdDynamic(int command_id) const OVERRIDE;
|
| + virtual string16 GetLabelForCommandId(int command_id) const OVERRIDE;
|
|
|
| // Overridden from ui::SimpleMenuModel::Delegate:
|
| - 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:
|
| Balloon* balloon_; // Not owned.
|
|
|