Removed most calls to GraphicsContext3D from DrawingBuffer

Also includes some misc related refactors that were missed on previous CLs

BUG=326382

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165020 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Changing from opacity less than 1 to opacity 1 should not trigger layout

RenderStyle::diff would always return StyleDifferenceLayout when adding
or removing an opacity even though layout is only required if doing so
would change if the layer is a stacking context.

See:
http://www.w3.org/TR/css3-color/#transparency
http://www.w3.org/TR/CSS21/zindex.html

BUG=334033

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165021 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [RaisesException] for non-void methods

Other case, caught while checking test cases.
(Most [RaisesException] methods are void, but not all.)

BUG=239771
R=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165022 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update MediaKeySession events to match latest EME spec

The current prefixed event names used (e.g. webkitkeymessage, etc.) don't match
the event names in the latest EME spec, so this change updates them.  Also add
new event 'close', which wasn't specified in earlier versions of the spec.

BUG=224786
TEST=content_shell tests updated with new event names (and pass)

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165023 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix link highlights on links that contain images.

Link highlights are now generated by walking down the render tree and
accumulating quads, rather than taking one bounding quad.

The real issue was with RenderInlines; absoluteQuads would return the
quads for the line box but only as calculated from line-height and font
metrics. This meant that replaced elements like <img> would overflow out of
the highlight. With this approach we get a highlight that hopefully
matches the actual hit testing region.

BUG=289764

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165024 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make TreeScope::baseURL pure virtual

This allows completeURL and baseURL work correctly when called on a ShadowRoot.
They should fall back to the ShadowRoot's Document's baseURL unless the ShadowRoot
itself has a baseURL specified.

Since no code in Blink yet calls either on a ShadowRoot, there's no
test I can write that triggers this, but once we start calling
treeScope().completeURL() this will be well-tested.

R=esprehn@chromium.org
BUG=311682

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165025 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove tests for unused IDL compiler features

Remove tests for unused features:
* sequence<SerializedScriptValue>
* [Immutable] on non-SVG attributes
* readonly constructor attributes
* static constructor attributes

Now Python passes TestTypedefs.idl!

TBR=haraken
NOTRY=true

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

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