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

Issue 22320003: Cleanup Views bubble tests. (Closed)

Created:
7 years, 4 months ago by msw
Modified:
7 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, alicet1, msw+watch_chromium.org
Visibility:
Public.

Description

Cleanup bubble tests. Move NonClientHitTest to BubbleDelegateTest. Inline TestBubbleDelegateView function definitions. Add CreateTestWidget helper for anchors/parents/etc. Remove unnecessary Show and RunPendingMessages calls. Enable InitiallyFocusedView, it works fine as-is. (TestBubbleVisibilityAndClose already tests the same) Other misc. cleanup. BUG=NONE TEST=NONE TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215860

Patch Set 1 : Cleanup Views bubble tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -147 lines) Patch
M ui/views/bubble/bubble_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/bubble/bubble_delegate_unittest.cc View 4 chunks +81 lines, -97 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 4 chunks +1 line, -48 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Hey Scott, please take a look as you have time, thanks. I'm using TBR since ...
7 years, 4 months ago (2013-08-06 06:33:23 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/22320003/13001
7 years, 4 months ago (2013-08-06 06:34:18 UTC) #2
commit-bot: I haz the power
Change committed as 215860
7 years, 4 months ago (2013-08-06 09:14:44 UTC) #3
sky
7 years, 4 months ago (2013-08-06 14:33:41 UTC) #4
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698