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

Issue 12087075: Create unit-test for exiting context menus via mouse button (Closed)

Created:
7 years, 10 months ago by sschmitz
Modified:
7 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Create unit-test for exiting context menus via mouse button Added a unit-test to BookmarkBarViewTest. It opens a context menu. The menu is dismissed by clicking the mouse outside of it. The underlying view gets the mouse event after the context menu has exited. See also: https://chromiumcodereview.appspot.com/11761027 BUG=171891 TEST=manual Run: out/Debug/interactive_ui_tests --gtest_filter='BookmarkBarViewTest20.*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182037

Patch Set 1 #

Total comments: 6

Patch Set 2 : crbug.com/171891 #

Total comments: 4

Patch Set 3 : crbug.com/171891 #

Patch Set 4 : rebase #

Patch Set 5 : crbug.com/171891 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 2 3 4 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sschmitz
7 years, 10 months ago (2013-01-30 02:15:48 UTC) #1
sky
https://codereview.chromium.org/12087075/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc (right): https://codereview.chromium.org/12087075/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc#newcode86 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc:86: }; DISALLOW_... https://codereview.chromium.org/12087075/diff/1/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc#newcode172 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc:172: if (!test_for_menu_exit_flag_) { Why does ...
7 years, 10 months ago (2013-01-30 14:53:04 UTC) #2
sschmitz
Thanks for your comments; it is much better. Made other improvements including that the new ...
7 years, 10 months ago (2013-01-30 20:43:57 UTC) #3
sky
https://codereview.chromium.org/12087075/diff/4001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc (right): https://codereview.chromium.org/12087075/diff/4001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc#newcode1608 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc:1608: int xx = 0; Why are you adding directly ...
7 years, 10 months ago (2013-01-30 23:01:57 UTC) #4
sschmitz
Thanks much for your help! https://codereview.chromium.org/12087075/diff/4001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc (right): https://codereview.chromium.org/12087075/diff/4001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc#newcode1608 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc:1608: int xx = 0; ...
7 years, 10 months ago (2013-01-31 01:31:45 UTC) #5
sky
LGTM
7 years, 10 months ago (2013-01-31 02:01:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/12087075/10001
7 years, 10 months ago (2013-01-31 02:10:48 UTC) #7
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=6330
7 years, 10 months ago (2013-01-31 09:36:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/12087075/17001
7 years, 10 months ago (2013-02-11 23:57:29 UTC) #9
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=9564
7 years, 10 months ago (2013-02-12 02:57:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/12087075/24003
7 years, 10 months ago (2013-02-12 19:50:19 UTC) #11
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 22:11:48 UTC) #12
Message was sent while issue was closed.
Change committed as 182037

Powered by Google App Engine
This is Rietveld 408576698