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

Issue 8870003: Merge BorderContentsView into BubbleFrameView; simplify. (Closed)

Created:
9 years ago by msw
Modified:
9 years ago
Reviewers:
alicet1, sky
CC:
chromium-reviews, msw+watch_chromium.org, alicet1, tfarina, Paweł Hajdan Jr.
Visibility:
Public.

Description

Merge BorderContentsView into BubbleFrameView; simplify. Merge these redundant classes and their unit tests. Do not try_mirroring_arrow with dummy anchor rects. Deprecate unused allow_bubble_offscreen bubble flag. Replace GetArrowLocation virtual with simple setter/getter pair. Return anchor view bounds in BubbleDelegateView::GetAnchorRect. Other refactoring and simplification. BUG=106050 TEST=Bubbles are anchored correctly with their arrows in the right location. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114598

Patch Set 1 : Fix build, update tests. #

Patch Set 2 : Sync and merge. #

Patch Set 3 : More simplification and fixes. #

Patch Set 4 : Checkpoint on refactoring. #

Patch Set 5 : More refactoring. #

Patch Set 6 : Remove allow_bubble_offscreen, simplify and update tests. #

Total comments: 2

Patch Set 7 : Sync and merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -666 lines) Patch
M chrome/browser/speech/speech_input_bubble_views.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble.cc View 1 2 3 4 5 6 2 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/first_run_bubble.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/page_info_bubble_view.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
D ui/views/bubble/border_contents_unittest.cc View 1 chunk +0 lines, -243 lines 0 comments Download
D ui/views/bubble/border_contents_view.h View 1 chunk +0 lines, -88 lines 0 comments Download
D ui/views/bubble/border_contents_view.cc View 1 chunk +0 lines, -185 lines 0 comments Download
M ui/views/bubble/bubble_border.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/bubble/bubble_delegate.h View 1 2 3 4 5 6 4 chunks +6 lines, -13 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 2 3 4 5 6 5 chunks +4 lines, -30 lines 0 comments Download
M ui/views/bubble/bubble_delegate_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 2 3 4 5 3 chunks +28 lines, -13 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 3 chunks +87 lines, -44 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 1 2 3 4 5 4 chunks +185 lines, -21 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
msw
Hey Alice, please take a look; thanks!
9 years ago (2011-12-14 10:16:14 UTC) #1
alicet1
looks ok in general, thanks for the clean up, and one question below. also, it ...
9 years ago (2011-12-14 21:48:53 UTC) #2
msw
>if I want to allow my bubble offscreen, how would I do that from the ...
9 years ago (2011-12-14 22:31:09 UTC) #3
msw
+Sky for OWNERS. PTAL; thanks!
9 years ago (2011-12-15 00:51:03 UTC) #4
sky
LGTM
9 years ago (2011-12-15 01:20:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/8870003/29001
9 years ago (2011-12-15 03:21:30 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-15 05:08:28 UTC) #7
Change committed as 114598

Powered by Google App Engine
This is Rietveld 408576698