Add physicalMemoryInBytes function to Platform.

BUG=312241

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move KeyboardCodes and friends to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] Simplify or better encapsulate the grid position resolution code

Move resolution code to GridSpan::create* methods when possible.

This should simplify RenderGrid a bit, since all that code does not
depend on RenderGrid functionality and can be moved away.

BUG=258258

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Dispatch StyleSheetChanged event regardless of majorChange value

R=pfeldman, vsevik
BUG=312273

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve accessible text retrieved from generated content.

For a Text node, AXRenderObject::stringValue returns the plainText
of the node's text, using TextIterator.

Now it does the same thing even when a RenderText doesn't have an
associated Text node, by iterating over the inline text boxes and
then converting all whitespace to plain whitespace characters.
(Previously it just returned the raw text, including extra whitespace,
newlines, etc.)

In the future, a better solution would be to have TextIterator handle
generated content. That would be a huge change. This is a decent
alternative in the meantime.

BUG=98977

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] invalidateRelativeLengthClients() should also handle root elements

Currently, SVGElement::invalidateRelativeLengthClients() gets called for
all SVGSVGElements in a document when the container size changes. But
the method only invalidates children - so if the SVG element itself has
relative lengths, it never gets invalidated.

The CL moves the invalidation logic out of the children loop, to operate
on the current element instead (children are handled recursively).

BUG=313083
R=pdr@chromium.org,schenney@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix unused functions warnings on Linux.

BUG=312287
TBR=abarth

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

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