| Index: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
|
| index 9e038efaeaebee939eae1227910a9c10c54a3c7b..aef5067b8b3938cb22e326b4342676e3aabd0f98 100644
|
| --- a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
|
| @@ -129,12 +129,6 @@ void BookmarkContextMenuController::ExecuteCommand(int id, int event_flags) {
|
| if (delegate_)
|
| delegate_->WillExecuteCommand(id, selection_);
|
|
|
| - if (ExecutePlatformCommand(id, event_flags)) {
|
| - if (delegate_)
|
| - delegate_->DidExecuteCommand(id);
|
| - return;
|
| - }
|
| -
|
| switch (id) {
|
| case IDC_BOOKMARK_BAR_OPEN_ALL:
|
| case IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO:
|
| @@ -323,10 +317,6 @@ bool BookmarkContextMenuController::IsCommandIdChecked(int command_id) const {
|
| }
|
|
|
| bool BookmarkContextMenuController::IsCommandIdEnabled(int command_id) const {
|
| - bool enabled = false;
|
| - if (IsPlatformCommandIdEnabled(command_id, &enabled))
|
| - return enabled;
|
| -
|
| PrefService* prefs = profile_->GetPrefs();
|
|
|
| bool is_root_node = selection_.size() == 1 &&
|
| @@ -400,21 +390,6 @@ bool BookmarkContextMenuController::GetAcceleratorForCommandId(
|
| return false;
|
| }
|
|
|
| -#if !defined(OS_WIN)
|
| -bool BookmarkContextMenuController::IsPlatformCommandIdEnabled(
|
| - int command_id,
|
| - bool* enabled) const {
|
| - // By default, there are no platform-specific enabled or disabled commands.
|
| - return false;
|
| -}
|
| -
|
| -bool BookmarkContextMenuController::ExecutePlatformCommand(int id,
|
| - int event_flags) {
|
| - // By default, there are no platform-specific commands.
|
| - return false;
|
| -}
|
| -#endif // OS_WIN
|
| -
|
| void BookmarkContextMenuController::BookmarkModelChanged() {
|
| if (delegate_)
|
| delegate_->CloseMenu();
|
|
|