Web Animations CSS: Support animation of webkit-column-width

BUG=257591

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move DOMPoint/WebKitPoint to frame/

This code really should just be UMA'd and then removed.
It's only used by one webkit-proprietary interface on Window.

BUG=305811
TBR=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159405 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a lock to WTF::Partitions::initialize().

BUG=270531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move FrameView.* to frame/

I'm not sure FrameView makes sense in an OOPI world.
FrameView is about integrating into the hierarchy of other
Widget/FrameViews, since we'll always have one, it's not clear
that this abstraction should exist in OOPI Blink.

That said, this seems to contain more Frame-ish code than Page-ish
so I'm moving it to frame/ for now.

R=abarth@chromium.org
TBR=abarth
BUG=305811

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Japanese encoding detector

1. Remove Japanese encoding detector. Often, it misdetects. More importantly, it's not used at all (it's a dead code unless the default encoding is Japanese [1]). 
2. Try to sniff meta tag for charset before auto-detecting.

[1] That's because 'shouldAutoDetect' and isJapaneseEncoding() cannot be satisfied at the same time except when the default encoding is Japanese (e.g. Shift_JIS). 

The only downside is that we'll misdecode a page in ISO-2022-JP without any charset declaration (http C-T header, html meta, xml head, css , etc) even when the default encoding is Japanese. However, the percentage of ISO-2022-JP pages without charset declaration is miniscule and it's not worth having this code. 

BUG=305837
TEST=LayoutTest: fast/encoding/*

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159408 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move page/animation to frame/animation

This is the "old" animation code to be replaced eventually
by the root-level animation/ directory.  That said,
AnimationController is actually owned by the Frame object
so this belongs in the frame/ directory.

I notified the Animation team that this move was coming via #blink.

BUG=305811
TBR=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159409 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use reference of Frame rather than pointer in SpellCherker

This patch changes SpellChecker class to use reference of Frame as member variable |m_frame| instead of pointer to Frame to improve readability and ease of maintenance; no more null check. This patch also removes unused member function SpellChecker::frame().

This is follow up of a suggestion in
https://codereview.chromium.org/26565013/

BUG=n/a
TEST=n/a; no behavior changes
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159410 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: padding can't be negative

The padding properties (padding-left -right -top -bottom) can't
be negative [1]. Make Web Animations CSS follow the spec: use
animatableValueToLength() with option NonNegativeValues to set
these properties.

[1] http://dev.w3.org/csswg/css-box/#the-padding

BUG=257591

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159411 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Ensure there's only ever one UserAgent ShadowRoot

There should never be more than one UserAgent ShadowRoot. We don't need it
for the PasswordGeneratorButtonElement now and can just decorate the real
ShadowRoot directly. This lets us simplify InputType::destroyShadowSubtree
as there will only ever be a single UA shadow root.

This is the first in a series of patches to try to get the
PasswordGeneratorButtonElement into a state where we can ship it. Having it
create extra UserAgent ShadowRoots is bad since it'll make shadowRoot return
null when an author adds a ShadowRoot to an input and then sets the type to
password after.

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

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