Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Unified Diff: chrome/browser/search/instant_extended_context_menu_observer.cc

Issue 18223002: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Call renamed method. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/search/instant_extended_context_menu_observer.h ('k') | chrome/browser/search/search.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-}
« no previous file with comments | « chrome/browser/search/instant_extended_context_menu_observer.h ('k') | chrome/browser/search/search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698