diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 12:30:08 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-03 12:30:08 +0000 |
commit | c878b7e6c196904be308a7e92c59e483d8364917 (patch) | |
tree | 4e29ccf5cc29fabd2625f6ac84d918b8606138cf /chrome/browser/custom_handlers | |
parent | 6b653545d729ee056d57a52860818ad86c8c2a13 (diff) | |
download | chromium_src-c878b7e6c196904be308a7e92c59e483d8364917.zip chromium_src-c878b7e6c196904be308a7e92c59e483d8364917.tar.gz chromium_src-c878b7e6c196904be308a7e92c59e483d8364917.tar.bz2 |
Revert 135113 - Add a way to programmatically close context menus.
(The new test ContextMenuBrowserTest.RealMenu failed on a couple of Linux bots).
This allows for writing browser tests that test navigations via context menus
BUG=124750
TEST=ContextMenuBrowserTest.RealMenu
Review URL: http://codereview.chromium.org/10317005
TBR=jochen@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10316016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc index ff2e804..8dd508d 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 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. @@ -28,7 +28,6 @@ class TestRenderViewContextMenu : public RenderViewContextMenu { : RenderViewContextMenu(web_contents, params) { } virtual void PlatformInit() { } - virtual void PlatformCancel() { } virtual bool GetAcceleratorForCommandId( int command_id, ui::Accelerator* accelerator) { |