Move ResourceLoadPriority handling to CachedResourceLoader.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/16506002

git-svn-id: svn://svn.chromium.org/blink/trunk@151884 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove stale keys from the flakiness dashboard results json.

These keys are no longer used by the dashboard and will be removed
completely when we switch gtests over to uploading the full_results.json
format.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16512002

git-svn-id: svn://svn.chromium.org/blink/trunk@151885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Handle bots that don't record SVN revisions in the flakiness dashboard.

The bots should be fixed, but in the meantime, the dashboard should
use the build numbers, which are guaranteed to always be included,
instead of showing a blank page and a JS error.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16513003

git-svn-id: svn://svn.chromium.org/blink/trunk@151886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Include the result query parameter in it's text input in the flakiness dashboard.

Before this patch, the dashboard would show you the right test, but wouldn't
populate the text input with the information about what it was showing you.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16517003

git-svn-id: svn://svn.chromium.org/blink/trunk@151887 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix some flakiness dashboard unittests broken in r151883.

TBR=dpranke@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move PublicURLManager shutdown logic so ActiveDOMObjects associated with public URLs won't leak.

Converted PublicURLManager to an ActiveDOMObject so that it 
will release all of its references when all other 
ActiveDOMObjects are stopped. This prevents ActiveDOMObjects
that can be associate with public URLs, like 
WebKitMediaSource, from getting leaked. Shutting down 
earlier allows these objects to release their pending 
activity so V8 can garbage collect their wrappers. When the
wrappers get cleaned up the Document is then able to be 
destroyed.

BUG=245340

Review URL: https://chromiumcodereview.appspot.com/16341002

git-svn-id: svn://svn.chromium.org/blink/trunk@151890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix signed versus unsigned issue

BUG=246701

Review URL: https://chromiumcodereview.appspot.com/16470002

git-svn-id: svn://svn.chromium.org/blink/trunk@151891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a WOFF2.0 font for test.
This is the Ahem font[1], converted from Ahem.ttf by font-compression-reference tool[2].

[1] http://wiki.csswg.org/test/fonts
[2] https://code.google.com/p/font-compression-reference/

BUG=122603
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
A small cleanup to gradient fill.

Gradient::fill, and thus GraphicsContext::drawRect(const FloatRect&, Gradient& gradient), left a pointer in the GraphicsContext state.
Since these are only used in GeneratorGeneratedImage (where this happens to be safe), this CL inlines these methods there.

Some minor cleanup (#includes etc.) while here.

BUG=247144

Review URL: https://chromiumcodereview.appspot.com/16369003

git-svn-id: svn://svn.chromium.org/blink/trunk@151893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Network] "Parser" initiator often points to wrong location.

Analysis: resource agent uses current parser position as initiator position.
This is wrong for "preloaded" resources, because they can be requested ahead
by main thread parser and may be discovered long ahead by background parser.

Solution:
 1) supply preload resource requests with correct positions
 2) store initiatorInfo in ResourceLoaderOptions
 3) pass initiatorInfo to
    InspectorResourceAgent::willSendResourceRequest

We already have test for initiator position.
Unfortunately it was rebaselined with wrong output. Reverted this change.

Additional changes: replace angle brackets with quotes in imports to satisfy presubmit checks.

BUG=240071
R=abarth@chromium.org, japhet@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebString::data

This function is a memory footgun that will bloat the WebString into having
both an 8 bit and a 16 bit backing buffer. Thankfully, we've removed all
clients and can remove the API.

R=jamesr
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16474002

git-svn-id: svn://svn.chromium.org/blink/trunk@151895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
SQLite should create 8 bit strings when possible

In investigating the sources of 16 bit strings, I found this call site that
unnecessarily creates 16 bit strings. This CL doesn't appear to have a large
impact on memory in my benchmark, but it's worth fixing anyway.

R=eseidel
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16520003

git-svn-id: svn://svn.chromium.org/blink/trunk@151896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Reset inspector agents on inspector frontend reload.

BUG=
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: support renaming file sin workspace.

R=apavlov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable GraphicsLayerTest.applyScrollToScrollableArea which broke after r204442

BUG=247279
TBR=trchen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test that embed and object can load image

Enable embed and object tests on Linux and Windows

NOTRY=true
BUG=246940
R=noel@chromium.org

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

Patch from Eric Willigers <ericwilligers@chromium.org>.

git-svn-id: svn://svn.chromium.org/blink/trunk@151900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjust expectations for fast/hidpi and virtual/gpu/fast/hidpi while fixing hidpi support in testrunner

BUG=244369
TBR=jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unskip no longer crashing tests.

TBR=jochen@chromium.org
BUG=246532
TEST=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@151902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify 'position' adjustment of top layer elements

Previously, we adjusted 'position' and 'display' for top layer
elements. There is already code to adjust the 'display' of positioned
elements, using equivalentBlockDisplay. This commit moves top layer
element adjustment above that code, so we don't have to set display
separately.

Also, convert the relevant layout tests from ref-tests to check-layout
tests, as they are just testing position.

BUG=140205

Review URL: https://chromiumcodereview.appspot.com/16529003

git-svn-id: svn://svn.chromium.org/blink/trunk@151903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add CSSValueKeywords for listbox color colors
We are moving the select element list box to shadow DOM and we need to
use the following colors in the user agent style sheet.

activelistboxselection, activelistboxselectiontext, inactivelistboxselection, inactivelistboxselectiontext

CSSParserMode.h: Added a new parser mode, UASheetMode.
CSSParser::parseValue: These four colors are only valid when the parser mode is UASheetMode.

BUG=234871

Review URL: https://chromiumcodereview.appspot.com/14366041

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