Move CheckedInt.h to Source/platform

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make LoadableTextTrack::clearClient not virtual

When TextTrack::clearClient and LoadableTextTrack::clearClient were
added in r99984, both had the virtual keyword and nothing seemed odd.

In r135410 the virtual keyword was dropped from TextTrack::clearClient
because "it is unnecessary", but LoadableTextTrack::clearClient was left
virtual even though it now shadowed (instead of overriding) TextTrack.

The HTMLTrackElement destructor calls LoadableTextTrack::clearClient, so
there's no risk of LoadableTextTrack::m_trackElement becoming stale.

It would be nice to sort this out even more, perhaps by refactoring
LoadableTextTrack into a TextTrackCueProvider or something that doesn't
inherit from TextTrack, but until then add a comment to calm the reader.

BUG=313287

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: don't save pageScaleFactor to the HistoryItem while device emulation is enabled.

BUG=314105

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FrameLoader::m_startingClientRedirect and pass it around instead.

Also, switch it to an enum instead of a bool for readability.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add experimental HarfBuzz support on Windows

Add experimental HARFBUZZ_ON_WINDOWS flag toggling the use of HarfBuzz
instead of Uniscribe for complex text shaping on Windows. Also modify
the HarfBuzz code slightly to compile on Windows and add the missing
functionality to the windows font data structures to support HarfBuzz
shaping.

BUG=313423
R=eseidel@chromium.org, bungeman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161200 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch AutoscrollController to use animation system instead of timer

This switches the AutoscrollController from using a 50ms timer to using
our animation system to do pan scrolling. The 50ms timer capped us at a janky
20FPS at best whereas our animation system can easily hit 60FPS in most cases.
This also cleans up the controller logic a bit to thin down the Page interface.

BUG=310791

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161201 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use more references in ContainerNode code

Use more references in ContainerNode code instead of pointers when they cannot
be null. This makes the code look safer and gets rid of unnecessary null
checks.

R=adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161202 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HarfBuzzShaper compile on Windows

Fix a couple of type conversion issues in HarfBuzzShaper allowing it
to be compiled on Windows.

BUG=313423
R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161203 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused deprecated API from WebSettings.h

These functions have been removed from
Chromium so they can be safely removed.

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

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