diff options
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_shelf.cc | 2 | ||||
-rw-r--r-- | chrome/browser/download/download_shelf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_shelf.cc b/chrome/browser/download/download_shelf.cc index 404bb2b..3380789 100644 --- a/chrome/browser/download/download_shelf.cc +++ b/chrome/browser/download/download_shelf.cc @@ -114,7 +114,7 @@ bool DownloadShelfContextMenu::GetAcceleratorForCommandId( return false; } -bool DownloadShelfContextMenu::IsLabelForCommandIdDynamic( +bool DownloadShelfContextMenu::IsItemForCommandIdDynamic( int command_id) const { return command_id == TOGGLE_PAUSE; } diff --git a/chrome/browser/download/download_shelf.h b/chrome/browser/download/download_shelf.h index b85123c..ab565fa 100644 --- a/chrome/browser/download/download_shelf.h +++ b/chrome/browser/download/download_shelf.h @@ -73,7 +73,7 @@ class DownloadShelfContextMenu : public menus::SimpleMenuModel::Delegate { virtual void ExecuteCommand(int command_id); virtual bool GetAcceleratorForCommandId(int command_id, menus::Accelerator* accelerator); - virtual bool IsLabelForCommandIdDynamic(int command_id) const; + virtual bool IsItemForCommandIdDynamic(int command_id) const; virtual string16 GetLabelForCommandId(int command_id) const; // A model to control the cancel behavior. |