Set a display limit of 8 on multiple-item notifications items.
commit7cbf1affeebde4cf27cc07bc811c41b0094cd0f4
authordharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Jan 2013 12:17:38 +0000 (4 12:17 +0000)
committerdharcourt@chromium.org <dharcourt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Jan 2013 12:17:38 +0000 (4 12:17 +0000)
treef33338b359499c97868bc06c2495bf0b87c848dc
parente7b183112403e43ddd53a1d18d37544e7dc65295
Set a display limit of 8 on multiple-item notifications items.

This limit is defined in the notification product requirement document,
section "Inbox Format for Multiple Messages". The limit only affects
the number of items displayed (to avoid notifications growing too tall).
The back end still handles any number of items. The maximum number is
declared in the public message_center_constants.h file so future code
can use it, for example to output a warning or return an error if
callers to the chrome.experimental.notification API ask for a
notification with more than the maximum number of displayable items.

BUG=161101

Review URL: https://chromiumcodereview.appspot.com/11638035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175132 0039d316-1c4b-4281-b951-d872f2087c98
ui/message_center/message_center_constants.cc
ui/message_center/message_center_constants.h
ui/message_center/notification_view.cc