Attaching a DOM Activity Logger to all extension scripts

Adds a mechanism for attaching (using the WebKit API) a DOMActivityLogger
to each world that is executing extension scripts. (This would include the
main world in the case of an extension background page.) A logger is only 
attached if extension activity logging is enabled and if there does not 
already exist a logger attached to the world. Each logger object has a log
method that marshalls it's arguments and sends them over to the extension
activity log on the browser side. A HashMap in WebCore owns the logger
objects. Currently the loggers are not invoked, a later WebCore patch will
appropriately configure the DOM bindings for each world so that they invoke
the corresponding logger object on every access.

BUG=160987, 160989

TBR=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186845 0039d316-1c4b-4281-b951-d872f2087c98
Silence 'You removed your device too soon' notification after screen unlock.

Previously, I disabled this after resume, but if the screen was locked, the
disk removed events will be postponed until screen unlock, so this should be
alse done after the screen is unlocked.

TEST=manual
(suspend and resume with a removeble device attached, there is no notification,
even if the screen was locked)

BUG=178492


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186846 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] Fix SyncWebSocketImplTest.Reconnect in pyauto bots.

One purpose of this test is to check if the message queue of SyncWebSocket is cleared after reconnection.
The failure is caused by stopping the server right after pushing request message to SyncWebSocket.
The server has no time to response or even might not receive the request yet.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186847 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Add/remove/widen webkit layout tests suppressions.

BUG=60667,107698,115419,181038,181050
TBR=glider
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186848 0039d316-1c4b-4281-b951-d872f2087c98
Added todo's in cookiemanager for possible fixes

Actually fixing them is a low priority since it is an uncommon
usage.
BUG=7162846


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186849 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify the LayerPainter class.

Style-only change. Make the LayerPainter follow chromium style.

R=enne
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186850 0039d316-1c4b-4281-b951-d872f2087c98
Update some #includes for WebPluginListBuilder.h which has been moved to the new Platform/ directory upstream

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186851 0039d316-1c4b-4281-b951-d872f2087c98
Doc: SIGUSR1 needed when paused for debugger.

This clarifies the log message printed when a user passes
"--ppapi-startup-dialog" on the command line. It's not obvious how to unpause
the process without reading through the source.

BUG=78173


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186852 0039d316-1c4b-4281-b951-d872f2087c98
Stop OnMoreDataConverter during StartStream() failure.

On StartStream() failure we will never get a Stop() call, so we end
up with an OnMoreDataConverter left in the started state.  There was
a test for this, but a typo caused it to never run for
AudioOutputResampler :-/

BUG=179986
TEST=media_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186855 0039d316-1c4b-4281-b951-d872f2087c98
app_list: Update search list select/hover color.

And select a result if it gets clicked.

BUG=175195
TEST=Verify selection color is more visible in app list search.

R=benwells@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186856 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify the SolidColorLayer classes.

Style-only change. Make the SolidColorLayer and SolidColorLayerImpl
classes adopt chromium style.

R=jamesr,enne
TBR=piman
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186857 0039d316-1c4b-4281-b951-d872f2087c98
Update some #includes for WebStorageNamespace.h which has been moved to the new Platform/ directory upstream

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186858 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify the Renderer class.

Style-only change. Apply chromium style to the Renderer class.

R=jamesr,enne


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186859 0039d316-1c4b-4281-b951-d872f2087c98
Skip processing remoting_*.dlls in create_installer_archive.dll.

TBR=gab@chromium.org
BUG=180996

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186860 0039d316-1c4b-4281-b951-d872f2087c98
Set correct error message when disconnecting messaging port.

Previously the same error message was used for all messaging-releated errors.
That's a problem for native messaging because there may be different reasons
for the error. Modified IPC messages to pass error message string instead of
a single boolean flag for errors.

BUG=142915

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186861 0039d316-1c4b-4281-b951-d872f2087c98
Implement the 'resizable' app window property on Mac.

R=rsesek@chromium.org
BUG=179206

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186862 0039d316-1c4b-4281-b951-d872f2087c98
Disable partial swaps for webview guest renderer until we can figure out how to do that properly.


BUG=179256


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186863 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify DamageTracker class.

Style-only change. Make the DamageTracker class use chromium style.

R=jamesr,enne


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186864 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify the ImageLayer class.

Style-only change. Make the ImageLayer class use chromium style.

R=jamesr
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186865 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Remove num_pending_reads_ from drive_internals_ui.cc.

num_pending_reads_ is not used in a meaningful way.

BUG=173062
R=satorux@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186866 0039d316-1c4b-4281-b951-d872f2087c98