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

Issue 8508048: Rebase PageInfoBubble on the new views bubble. (Closed)

Created:
9 years, 1 month ago by msw
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Rebase PageInfoBubble on the new views bubble. Move ShowPageInfoBubble to browser_dialogs.h, nix page_info_window.h. Add BubbleDelegateView::SizeToContents(), slight refactoring. Add non-const location_icon_view(), make animation impls protected. BUG=97248, 98312, 98323 TEST=Page info bubble has the same behavior/appearance. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110403

Patch Set 1 : Rebase PageInfoBubble on the new views bubble. #

Patch Set 2 : Update ExternalTabPageInfoBubbleView; cleanup. #

Patch Set 3 : Move ShowPageInfoBubble to browser_dialogs.h; adjust anchor. #

Total comments: 14

Patch Set 4 : Address comments. #

Patch Set 5 : Sync and merge; remove depricated code. #

Total comments: 2

Patch Set 6 : Sync and merge, indent a line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -132 lines) Patch
M chrome/browser/external_tab_container_win.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/browser_dialogs.h View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/page_info_bubble_view.h View 1 2 3 3 chunks +6 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/page_info_bubble_view.cc View 1 2 3 4 5 5 chunks +32 lines, -56 lines 0 comments Download
D chrome/browser/ui/views/page_info_window.h View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M views/bubble/bubble_delegate.h View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download
M views/bubble/bubble_delegate.cc View 1 2 3 5 chunks +21 lines, -17 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
msw
PTAL; thanks!
9 years, 1 month ago (2011-11-11 23:07:49 UTC) #1
msw
Ping! Ben, should I send these bubble conversion reviews to someone else? We'll likely have ...
9 years, 1 month ago (2011-11-14 23:58:31 UTC) #2
msw
Finnur, perhaps you can help review here?
9 years, 1 month ago (2011-11-15 00:00:51 UTC) #3
Ben Goodger (Google)
Sorry, when you add me as a reviewer with someone else to a CR, I ...
9 years, 1 month ago (2011-11-15 00:08:44 UTC) #4
msw
Ah, gotcha. Alice, Finnur: can you take look first?
9 years, 1 month ago (2011-11-15 00:11:50 UTC) #5
alicet1
http://codereview.chromium.org/8508048/diff/11001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): http://codereview.chromium.org/8508048/diff/11001/chrome/browser/ui/views/frame/browser_view.cc#newcode1140 chrome/browser/ui/views/frame/browser_view.cc:1140: browser::ShowPageInfoBubble(GetLocationBarView()->location_icon_view(), would it be better that you expose a ...
9 years, 1 month ago (2011-11-15 02:02:13 UTC) #6
Finnur
General comment: Looks like you need to sync to latest and try the change again. ...
9 years, 1 month ago (2011-11-15 10:05:01 UTC) #7
msw
Alice, Finnur: Comments addressed; merged to ToT. PTAL; thanks! http://codereview.chromium.org/8508048/diff/11001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): http://codereview.chromium.org/8508048/diff/11001/chrome/browser/ui/views/frame/browser_view.cc#newcode1140 chrome/browser/ui/views/frame/browser_view.cc:1140: ...
9 years, 1 month ago (2011-11-15 20:16:57 UTC) #8
alicet1
lgtm
9 years, 1 month ago (2011-11-15 21:52:23 UTC) #9
msw
Ben: PTAL; thanks!
9 years, 1 month ago (2011-11-15 22:15:59 UTC) #10
msw
Ping! Ben, can you review/rubber stamp?
9 years, 1 month ago (2011-11-16 22:08:10 UTC) #11
Ben Goodger (Google)
lgtm http://codereview.chromium.org/8508048/diff/24014/chrome/browser/ui/views/page_info_bubble_view.cc File chrome/browser/ui/views/page_info_bubble_view.cc (right): http://codereview.chromium.org/8508048/diff/24014/chrome/browser/ui/views/page_info_bubble_view.cc#newcode135 chrome/browser/ui/views/page_info_bubble_view.cc:135: anchor_view() ? anchor_view()->GetWidget()->GetNativeWindow() : NULL; nit: 4-space indent
9 years, 1 month ago (2011-11-16 22:26:38 UTC) #12
msw
Thanks! Landing. http://codereview.chromium.org/8508048/diff/24014/chrome/browser/ui/views/page_info_bubble_view.cc File chrome/browser/ui/views/page_info_bubble_view.cc (right): http://codereview.chromium.org/8508048/diff/24014/chrome/browser/ui/views/page_info_bubble_view.cc#newcode135 chrome/browser/ui/views/page_info_bubble_view.cc:135: anchor_view() ? anchor_view()->GetWidget()->GetNativeWindow() : NULL; On 2011/11/16 ...
9 years, 1 month ago (2011-11-16 22:37:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/8508048/25002
9 years, 1 month ago (2011-11-16 22:38:10 UTC) #14
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 00:48:35 UTC) #15
Change committed as 110403

Powered by Google App Engine
This is Rietveld 408576698