diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 22:02:39 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-05 22:02:39 +0000 |
commit | 428b68334d74983aa9914373a8b28d9602f9ceec (patch) | |
tree | 5672c0ab42c91a0dd70c9ae0d30c431bc45d425a | |
parent | b715f7fea3d0a39e36b860a62010b89f1d6a1b12 (diff) | |
download | chromium_src-428b68334d74983aa9914373a8b28d9602f9ceec.zip chromium_src-428b68334d74983aa9914373a8b28d9602f9ceec.tar.gz chromium_src-428b68334d74983aa9914373a8b28d9602f9ceec.tar.bz2 |
Revert the unnecessary change. I forgot to remove this test code when I created the cl.
BUG=39736
TEST=interactive_ui_tests shoudl cycle green
TBR=sky@chromium.org
Review URL: http://codereview.chromium.org/1602009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43658 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/views/bookmark_bar_view_test.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/chrome/browser/views/bookmark_bar_view_test.cc b/chrome/browser/views/bookmark_bar_view_test.cc index 4f37018..78fccfe 100644 --- a/chrome/browser/views/bookmark_bar_view_test.cc +++ b/chrome/browser/views/bookmark_bar_view_test.cc @@ -912,12 +912,6 @@ VIEW_TEST(BookmarkBarViewTest10, MAYBE_KeyEvents) // effectively verifies we maintain mouse capture after the context menu is // hidden. class BookmarkBarViewTest11 : public BookmarkBarViewEventTestBase { - public: - BookmarkBarViewTest11() - : ALLOW_THIS_IN_INITIALIZER_LIST( - observer_(CreateEventTask(this, &BookmarkBarViewTest11::Step3))) { - } - protected: virtual void DoTestOnMessageLoop() { // Move the mouse to the first folder on the bookmark bar and press the @@ -941,8 +935,8 @@ class BookmarkBarViewTest11 : public BookmarkBarViewEventTestBase { // Right click on the first child to get its context menu. ui_controls::MoveMouseToCenterAndPress(child_menu, ui_controls::RIGHT, - ui_controls::DOWN | ui_controls::UP, NULL); - // Step3 will be invoked by ContextMenuNotificationObserver. + ui_controls::DOWN | ui_controls::UP, + CreateEventTask(this, &BookmarkBarViewTest11::Step3)); } void Step3() { @@ -978,8 +972,6 @@ class BookmarkBarViewTest11 : public BookmarkBarViewEventTestBase { !menu->GetSubmenu()->IsShowing()); Done(); } - - ContextMenuNotificationObserver observer_; }; VIEW_TEST(BookmarkBarViewTest11, CloseMenuAfterClosingContextMenu) |