Add an error message to the debug printout.

Currently, when an error occurs in an extension event
handler callback, only the error's stack trace is
printed.  This is inconvenient if the error contains
a helpful message.

Review URL: https://codereview.chromium.org/110933003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241473 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241473
Fixes the context menu for a notification.

- The contents of the menu is independent from views, so put it
  into message_center_tray.
- Then it can be unit-testable. wrote test case.
- Also MessageCenterTrayDelegate can control availability of the menu.
- views::ContextMenuController is not necessarily owned by views::View.
      Moving it to outside of MessageView will reduce a few lines of code
      from MessageViewController.

BUG=327828
R=dewittj@chromium.org, stevenjb@chromium.org
TBR=rsesek@chromium.org
TEST=message_center_unittests covers

Review URL: https://codereview.chromium.org/114323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241474 0039d316-1c4b-4281-b951-d872f2087c98
[telemetry] Implement per-pixel algorithms in Bitmap as a C++ extension.

The extension provides fast bitmap operations with no external
dependencies. However, it is not available on all platforms.

BUG=323813
TEST=telemetry bitmap_unittest
R=bulach@chromium.org, tonyg@chromium.org

Review URL: https://codereview.chromium.org/114793004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241475 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 241475