summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/menu_controller_unittest.mm
diff options
context:
space:
mode:
authordharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 20:24:32 +0000
committerdharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 20:24:32 +0000
commitb12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3 (patch)
tree44b3fdcdfd9858c2ac1a884181bbde6c7a245ac5 /chrome/browser/ui/cocoa/menu_controller_unittest.mm
parent8cca9621a858256226dfc6d7588a2fda32ad2daf (diff)
downloadchromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.zip
chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.gz
chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.bz2
Revert 145145 - Filtered events.
Check bug 134977 for details Makes web_navigation events support filters, eg: chrome.webNavigation.onBeforeCommitted.addListener(callback, {url: [{hostSuffix: 'google.com'}]}); Now callback will only be called when the event has a URL with a host suffix of google.com. BUG=121479 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143872 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143874 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143896 Review URL: https://chromiumcodereview.appspot.com/10514013 TBR=koz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/menu_controller_unittest.mm')
-rw-r--r--chrome/browser/ui/cocoa/menu_controller_unittest.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/ui/cocoa/menu_controller_unittest.mm b/chrome/browser/ui/cocoa/menu_controller_unittest.mm
index 5bfd3c6..04f0ed8 100644
--- a/chrome/browser/ui/cocoa/menu_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/menu_controller_unittest.mm
@@ -16,8 +16,6 @@
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image_skia.h"
-namespace {
-
class MenuControllerTest : public CocoaTest {
};
@@ -332,5 +330,3 @@ TEST_F(MenuControllerTest, OpenClose) {
// Expect that the delegate got notified properly.
EXPECT_TRUE(delegate.did_close_);
}
-
-} // namespace