Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 11154022: Re-factor Ash Message Center code part 3/4 (Closed)

Created:
8 years, 2 months ago by stevenjb
Modified:
8 years, 2 months ago
Reviewers:
miket_OOO, jennyz
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

* Make web/system trays delegates instead of bubbles. * Move TrayBubbleWrapper to trays. * Remove remaining ash dependencies in message_center views. Code diagram with changes: https://docs.google.com/drawings/d/1B6ZxXObmrDFzgWEHmkP_Ppt2BFbOL9kXzakOmY0sXe0/edit BUG=150872 For ash/wm/gestures/tray_gesture_handler.cc: [email protected] Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162849

Patch Set 1 #

Patch Set 2 : . #

Total comments: 15

Patch Set 3 : Address nits, fix clang error #

Total comments: 8

Patch Set 4 : Fix ash_unittests and address feedback #

Patch Set 5 : Rebase #

Patch Set 6 : Fix win_aura #

Patch Set 7 : . #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+810 lines, -598 lines) Patch
M ash/system/tray/system_tray.h View 1 2 3 4 5 6 7 8 chunks +31 lines, -13 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 3 4 5 6 7 15 chunks +134 lines, -55 lines 0 comments Download
M ash/system/tray/system_tray_bubble.h View 1 3 chunks +5 lines, -16 lines 0 comments Download
M ash/system/tray/system_tray_bubble.cc View 1 3 chunks +7 lines, -27 lines 0 comments Download
M ash/system/tray/tray_background_view.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -6 lines 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -2 lines 0 comments Download
M ash/system/tray/tray_bubble_view.h View 1 2 3 4 5 6 chunks +32 lines, -9 lines 0 comments Download
M ash/system/tray/tray_bubble_view.cc View 1 4 chunks +11 lines, -3 lines 0 comments Download
M ash/system/tray/tray_bubble_wrapper.h View 1 2 chunks +7 lines, -5 lines 0 comments Download
M ash/system/tray/tray_bubble_wrapper.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/tray/tray_notification_view.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/system/web_notification/message_center_bubble.h View 1 2 2 chunks +16 lines, -17 lines 0 comments Download
M ash/system/web_notification/message_center_bubble.cc View 1 6 chunks +150 lines, -71 lines 0 comments Download
M ash/system/web_notification/popup_bubble.h View 1 2 1 chunk +17 lines, -25 lines 0 comments Download
M ash/system/web_notification/popup_bubble.cc View 1 5 chunks +48 lines, -49 lines 0 comments Download
M ash/system/web_notification/web_notification.h View 2 chunks +3 lines, -7 lines 0 comments Download
M ash/system/web_notification/web_notification.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M ash/system/web_notification/web_notification_bubble.h View 1 2 3 4 5 6 3 chunks +31 lines, -27 lines 0 comments Download
M ash/system/web_notification/web_notification_bubble.cc View 1 3 chunks +22 lines, -50 lines 0 comments Download
M ash/system/web_notification/web_notification_list.h View 1 2 3 4 5 5 chunks +35 lines, -15 lines 0 comments Download
M ash/system/web_notification/web_notification_list.cc View 1 6 chunks +9 lines, -13 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.h View 1 2 3 4 5 6 6 chunks +49 lines, -56 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 2 3 4 5 6 7 12 chunks +127 lines, -68 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 1 2 3 4 5 6 7 7 chunks +25 lines, -18 lines 0 comments Download
M ash/system/web_notification/web_notification_view.h View 1 5 chunks +6 lines, -11 lines 0 comments Download
M ash/system/web_notification/web_notification_view.cc View 1 2 10 chunks +27 lines, -26 lines 0 comments Download
M ash/wm/gestures/tray_gesture_handler.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
stevenjb
OK, this is the last big change. The only remaining part is moving and renaming ...
8 years, 2 months ago (2012-10-16 00:16:29 UTC) #1
miket_OOO
Very straightforward in spite of its size. LGTM! http://codereview.chromium.org/11154022/diff/5001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): http://codereview.chromium.org/11154022/diff/5001/ash/system/tray/system_tray.cc#newcode68 ash/system/tray/system_tray.cc:68: bubble_.reset(bubble); ...
8 years, 2 months ago (2012-10-16 01:05:42 UTC) #2
stevenjb
http://codereview.chromium.org/11154022/diff/5001/ash/system/tray/system_tray.cc File ash/system/tray/system_tray.cc (right): http://codereview.chromium.org/11154022/diff/5001/ash/system/tray/system_tray.cc#newcode68 ash/system/tray/system_tray.cc:68: bubble_.reset(bubble); On 2012/10/16 01:05:42, miket wrote: > Could this ...
8 years, 2 months ago (2012-10-16 19:16:06 UTC) #3
jennyz
Looks like linux_chromeos and win_aura try bots failed for ash_unittests and compiling, are they running ...
8 years, 2 months ago (2012-10-16 23:09:38 UTC) #4
stevenjb
http://codereview.chromium.org/11154022/diff/11001/ash/system/web_notification/message_center_bubble.cc File ash/system/web_notification/message_center_bubble.cc (right): http://codereview.chromium.org/11154022/diff/11001/ash/system/web_notification/message_center_bubble.cc#newcode87 ash/system/web_notification/message_center_bubble.cc:87: class FixedSizedScrollView : public views::ScrollView { On 2012/10/16 23:09:39, ...
8 years, 2 months ago (2012-10-17 00:52:50 UTC) #5
jennyz
lgtm
8 years, 2 months ago (2012-10-17 16:05:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11154022/18031
8 years, 2 months ago (2012-10-18 21:40:01 UTC) #7
commit-bot: I haz the power
Presubmit check for 11154022-18031 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-18 21:40:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11154022/18031
8 years, 2 months ago (2012-10-18 21:50:27 UTC) #9
commit-bot: I haz the power
8 years, 2 months ago (2012-10-18 23:57:47 UTC) #10
Change committed as 162849

Powered by Google App Engine
This is Rietveld 408576698