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

Issue 75133006: Move knowledge about MessageCenter out of MessageView. (Closed)

Created:
7 years, 1 month ago by Dmitry Titov
Modified:
7 years ago
Reviewers:
dewittj
CC:
chromium-reviews
Visibility:
Public.

Description

Move knowledge about MessageCenter out of MessageView. This is because I need to create a new subclass of MessageView - a synthetic placeholder for multiple notifications from the same source. Hence the new enum, MesageViewTypes, which is not used in this patch but will in second... the derived classes override abstract methods of the MesageView to provide functionality. NotificationView currently knows about MessageCenter but in the future refactorings it can yield this to MessageCenterView. BUG=320827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236888

Patch Set 1 #

Patch Set 2 : fix win build break #

Total comments: 1

Patch Set 3 : remover types #

Total comments: 6

Patch Set 4 : more feedback #

Patch Set 5 : linux build fix #

Patch Set 6 : more fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -162 lines) Patch
M ui/message_center/views/message_center_view.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M ui/message_center/views/message_center_view.cc View 1 2 3 4 11 chunks +51 lines, -43 lines 0 comments Download
M ui/message_center/views/message_center_view_unittest.cc View 1 2 3 4 5 4 chunks +17 lines, -29 lines 0 comments Download
M ui/message_center/views/message_view.h View 1 2 2 chunks +7 lines, -10 lines 0 comments Download
M ui/message_center/views/message_view.cc View 13 chunks +30 lines, -63 lines 0 comments Download
M ui/message_center/views/notification_view.h View 1 2 4 chunks +19 lines, -5 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 8 chunks +31 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Dmitry Titov
7 years, 1 month ago (2013-11-18 21:49:08 UTC) #1
Dmitry Titov
Fixed build break
7 years, 1 month ago (2013-11-18 23:33:46 UTC) #2
dewittj
https://codereview.chromium.org/75133006/diff/80001/ui/message_center/views/message_center_view.cc File ui/message_center/views/message_center_view.cc (right): https://codereview.chromium.org/75133006/diff/80001/ui/message_center/views/message_center_view.cc#newcode893 ui/message_center/views/message_center_view.cc:893: static_cast<NotificationView*>(message_view)->notification_id() == id) { static_cast? Any way to get ...
7 years, 1 month ago (2013-11-19 01:44:04 UTC) #3
Dmitry Titov
On 2013/11/19 01:44:04, dewittj wrote: > https://codereview.chromium.org/75133006/diff/80001/ui/message_center/views/message_center_view.cc > File ui/message_center/views/message_center_view.cc (right): > > https://codereview.chromium.org/75133006/diff/80001/ui/message_center/views/message_center_view.cc#newcode893 > ...
7 years, 1 month ago (2013-11-20 22:13:16 UTC) #4
dewittj
lgtm https://codereview.chromium.org/75133006/diff/190001/ui/message_center/views/message_center_view.cc File ui/message_center/views/message_center_view.cc (right): https://codereview.chromium.org/75133006/diff/190001/ui/message_center/views/message_center_view.cc#newcode910 ui/message_center/views/message_center_view.cc:910: static_cast<MessageView*>( Can we document somewhere that this depends ...
7 years, 1 month ago (2013-11-22 00:33:55 UTC) #5
Dmitry Titov
https://codereview.chromium.org/75133006/diff/190001/ui/message_center/views/message_center_view.cc File ui/message_center/views/message_center_view.cc (right): https://codereview.chromium.org/75133006/diff/190001/ui/message_center/views/message_center_view.cc#newcode910 ui/message_center/views/message_center_view.cc:910: static_cast<MessageView*>( On 2013/11/22 00:33:55, dewittj wrote: > Can we ...
7 years, 1 month ago (2013-11-22 01:13:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dimich@chromium.org/75133006/290001
7 years, 1 month ago (2013-11-22 01:21:48 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) app_list_unittests, aura_unittests, browser_tests, compositor_unittests, content_browsertests, content_unittests, ...
7 years, 1 month ago (2013-11-22 02:15:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dimich@chromium.org/75133006/560001
7 years ago (2013-11-22 19:02:21 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos_clang&number=59668
7 years ago (2013-11-22 19:52:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dimich@chromium.org/75133006/850001
7 years ago (2013-11-22 22:49:35 UTC) #11
commit-bot: I haz the power
7 years ago (2013-11-23 00:59:48 UTC) #12
Message was sent while issue was closed.
Change committed as 236888

Powered by Google App Engine
This is Rietveld 408576698