| Index: chrome/browser/search/instant_extended_context_menu_observer.cc
|
| diff --git a/chrome/browser/search/instant_extended_context_menu_observer.cc b/chrome/browser/search/instant_extended_context_menu_observer.cc
|
| deleted file mode 100644
|
| index fa42b67eeb5bf2812598251a0bf579eaf2b8ea7b..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/search/instant_extended_context_menu_observer.cc
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -// Copyright 2013 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.
|
| -
|
| -#include "chrome/browser/search/instant_extended_context_menu_observer.h"
|
| -
|
| -#include "base/logging.h"
|
| -#include "chrome/app/chrome_command_ids.h"
|
| -#include "chrome/browser/search/search.h"
|
| -
|
| -InstantExtendedContextMenuObserver::InstantExtendedContextMenuObserver(
|
| - content::WebContents* contents)
|
| - : is_instant_overlay_(chrome::IsInstantOverlay(contents)) {
|
| -}
|
| -
|
| -InstantExtendedContextMenuObserver::~InstantExtendedContextMenuObserver() {
|
| -}
|
| -
|
| -bool InstantExtendedContextMenuObserver::IsCommandIdSupported(int command_id) {
|
| - switch (command_id) {
|
| - case IDC_BACK:
|
| - case IDC_FORWARD:
|
| - case IDC_PRINT:
|
| - case IDC_RELOAD:
|
| - return is_instant_overlay_;
|
| - default:
|
| - return false;
|
| - }
|
| -}
|
| -
|
| -bool InstantExtendedContextMenuObserver::IsCommandIdEnabled(int command_id) {
|
| - DCHECK(IsCommandIdSupported(command_id));
|
| - return false;
|
| -}
|
|
|