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

Issue 1545011: BookmarkBarView tests fixes (Closed)

Created:
10 years, 8 months ago by oshima
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org, chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Relanding: BookmarkBarView tests fixes * Add BOOKMARK_CONTEXT_MENU_SHOWN notification. On Linux, event handling is asynchronous, but the showing context menu is blocking, so we can't use RunAllPending(). * Convert gtk keycode to Win when checking accelerator. BUG=39736 TEST=none (interactive_ui_tests should pass once enabled it'll be enabled by http://codereview.chromium.org/1576008 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43699 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43700

Patch Set 1 #

Total comments: 8

Patch Set 2 : " #

Patch Set 3 : remove unnecessary change (correct one this time) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -24 lines) Patch
M chrome/browser/views/bookmark_bar_view_test.cc View 1 2 24 chunks +114 lines, -23 lines 0 comments Download
M chrome/browser/views/bookmark_context_menu.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/notification_type.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M views/controls/menu/menu_controller.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
oshima
10 years, 8 months ago (2010-04-02 17:21:28 UTC) #1
sky
http://codereview.chromium.org/1545011/diff/1/2 File chrome/browser/views/bookmark_bar_view_test.cc (right): http://codereview.chromium.org/1545011/diff/1/2#newcode327 chrome/browser/views/bookmark_bar_view_test.cc:327: EXPECT_TRUE(menu->GetSubmenu()->IsShowing()); These should be asserts, as otherwise if the ...
10 years, 8 months ago (2010-04-02 17:31:09 UTC) #2
oshima
http://codereview.chromium.org/1545011/diff/1/2 File chrome/browser/views/bookmark_bar_view_test.cc (right): http://codereview.chromium.org/1545011/diff/1/2#newcode327 chrome/browser/views/bookmark_bar_view_test.cc:327: EXPECT_TRUE(menu->GetSubmenu()->IsShowing()); ok, i thought it was just cut&past thing. ...
10 years, 8 months ago (2010-04-02 22:01:55 UTC) #3
sky
10 years, 8 months ago (2010-04-02 22:15:53 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698