Have ReplaceSelectionCommand::InsertedNodes API take references in argument

Have ReplaceSelectionCommand::InsertedNodes API take references in argument.
This makes the code look safer and gets rid of several unnecessary null
checks.

R=adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161257 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Record the old and new layout rects into RenderObject.

As we walk the layout tree, record the old/new layout rects into the object.
The old rect is only stored if it has not been set for this layout pass already.

BUG=310398

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161258 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move ThemeTypes to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move CustomFilterProgramInfo to platform/graphics/filters/custom/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rebuild composited layer tree when a layer's need for a backing changes

This makes RenderLayerCompositor::allocateOrClearCompositedLayerMapping
recognize when an existing composited layer's need for a backing changes
without the layer's need for compositing changing.

BUG=256200

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161263 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move PlatformInstrumentation to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161264 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Restore ActivityLogging=SetterForIsolatedWorlds for mouse and keyboard events

This was first added in r154552.

In r159511 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds]
was replaced with [ActivityLogging=Setter] on the assumption that
PerWorldBindings wasn't there for any particular reason and that
SetterForIsolatedWorlds wouldn't make sense without it.

This was wrong, because activity logging now happens for all worlds,
where it previously only happened for isolated worlds.

Make it so again.

BUG=305112

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161265 bbb929c8-8fbe-4397-9dbb-9b2b20218538