IDL compiler: explicit [DependentLifetime] for SVG types

Remaining: 39 => 16

Per chat with Kouhei, we do need [DependentLifetime] for SVG types,
due to tearoffs or references to other DOM objects,
so putting explicitly in IDL files, instead of special case in CG.

Only need to add it to 7 IDL files (+1 test), due to inheritance of this extended attribute, notably from SVGPathSeg.

BUG=239771
TBR=haraken, kouhei

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Only swap positions if both characters actually are absolute positioned

When re-ordering inline boxes within a "line", character-based absolute
positioning attributes are re-ordered to match. However, when attempting
to re-order/swap a inline box that does have a absolute positioning
attribute (and is of length 1) with one that doesn't, the positioning
attribute is copied rather than swapped - leading to additional chunks
being created and consequently additional adjustments being performed.
However, swapping is not needed/required in this case, since the attribute
is already in the correct (logical) position.
To mitigate this, only perform the attribute swap if both characters
(and consequently inline boxes) have attributes in the first place.

BUG=343486

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167777 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make MutableStylePropertySet::m_propertyVector private

R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix serialization of (xlink:)href attributes in document fragments

If the namespace of an attribute has a "well-known" prefix, then make
sure that prefix is used during serialization instead of the prefix
from the attribute (which could be empty.)

BUG=345132

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Extract CSP parsing methods out to platform.

We'll likely want to move these somewhere else in the future, but first
things first. I'll worry about what to export where once CSP is less
monolithic.

BUG=346642

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark some classes STACK_ALLOCATED.

Marking a class stack allocated allows an object to have pointers to GC managed objects without wrapping them in Member and defining a trace method to trace them. The Blink GC plugin for clang will identify the marked object as stack allocated and check it accordingly.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167781 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing some exception message typos in webaudio/AnalyzerNode

BUG=270033

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add constant twoPiDouble/twoPiFloat to MathExtras.h

piDouble/piFloat * 2 is often used in Blink.
So, if we add constant values to MathExtras.h, we will be able to use them usefully.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make font-weight animatable.

We currently don't animate font-weight, even though (1) the spec calls for it, and (2) other
browsers (IE+FF) do.

The interpolator converts the font weights to equivalent real numbers, and performs
the interpolation on these values. The font weight is rounded to the nearest 100 when
the animated style is built.

BUG=289734
TEST=automated

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167784 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Extract CSPSource from ContentSecurityPolicy.

We'll likely need to move pieces of CSP up to content/ in order to
support things like exposing the referrer policy directly to the network
stack (for redirects, etc). That's not going to be possible to evaluate
until CSP's various components are split out of the single monolithic
file.

BUG=346642

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167785 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Cleanup InspectorView.

This change:
- moves overlay view to separate file - to be reused in undocked overlay;
- makes InspectorView to be what |InspectorView.devtoolsElement| was before;
- incapsulates logic specific for screencast or docking mode in separate places;
- allows multiple split views around overlay - to be used in emulation UI;
- makes screencast a separate frontend module.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Add suggestions to TextFilter.

EOM

BUG=258421

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Attempt to deflake some animation tests

TBR=shans

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
TimelinePanel: MemoryStatistics: mouse cursor position is incorrect in dock to right mode.

BUG=346699
R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate isHTML*Element() / toHTML*Element() helper functions

Generate isHTML*Element() / toHTML*Element() helper functions using
html/HTMLTagNames.in as input. This avoids having to use macros to generate
these for each HTMLElement type. This is also safer because the generated
methods check the ContextFeatures and the RuntimeEnabledFeatures if needed.

The generated helpers are located in an HTMLElementTypeHelpers.h header that
is included in HTMLElement.h for convenience.

I am planning to use this header later on to make ElementTraversal more
powerful by letting the caller tell which type of Element (e.g.
HTMLTableRowElement) it wants to iterate on. It would look like:
ElementTraversal<HTMLTableRowElement>::next().

This is based on the following WebKit revision by <akling@apple.com>:
http://trac.webkit.org/changeset/154965

R=
BUG=346095

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove NO_RETURN_WITH_VALUE macro

SSIA. This macro is not used anywhere and
does not have any specific implementation.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@167791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Pretty printing icon {} is not shown anymore when there is no open tabs.

R=pfeldman

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

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