DevTools: Introduce suggest box overlay for faster suggest box layout.

R=pfeldman, lushnikov, apavlov
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Do not cache row count on suggest box update.

This makes suggest box updating faster by postponing the calculation
of the row count that is only needed when page up/down is pressed.

R=pfeldman,apavlov,lushnikov
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Uninline JSON{Array,Object}Base methods

Most of these are sizable enough to not want to inline too eagerly. Move
their definitions from the header-file to the cpp-file while dropping the
'inline' keyword.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove useless calls to DOMImplementation::hasFeature("XML", String())

These calls will always return true, so this was dead code.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable the activation behavior of media elements (click to play/pause)

Sites that implement click to play/pause using JavaScript without
calling preventDefault() have unfortunately surfaced. This is serious
since at worst the videos are completely unplayable.

A remedy would be http://crbug.com/269454 so that no events are fired
when the native controls are used. Revert the activation behavior for
now, in order to try again after that has been fixed.

This partially reverts r169812 and r170789.

BUG=354746, 358675

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Split [StrictTypeChecking] into [TypeChecking=Interface|Nullable|String]

Prep for adding support for unrestricted double and float;
no changes to generated bindings.

In order to add proper type-checking to Blink code, we need to do this
on an opt-in basis, to avoid breaking the web interface.

There are lots of different type checking, so simplest is to put these
as values for a single extended attribute, namely [StrictTypeChecking].

Currently there are three types of type checking:
* Interface: if type is interface, does value implement interface?
* Nullable: if value is null, is type nullable?
* String: is a value stringable?

I've split these as 'Interface', 'Nullable', and 'String';
for *almost* all existing [TypeChecking] these are all turned on,
but now we can turn them on separately.

Also:
* Tests added

Docs updated:
http://www.chromium.org/blink/webidl/blink-idl-extended-attributes#TOC-TypeChecking-i-m-a-p-

I'll follow up with:
* [TypeChecking=Unrestricted]
  for floats and doubles, and then we can apply this to existing code,
  tearing out lots of boilerplate checks in Blink!

R=haraken
BUG=354298
BUG=321518

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Tabbed pane now measures tab element sizes after zoom change.

BUG=363980
R=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@172486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Avoid scrolling suggest box selected item into view when possible.

scrollIntoView forces extra layout and should be avoided when selectedIndex is trivial.

R=pfeldman,lushnikov,apavlov
NOTRY=true

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

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