Revert of [screen-orientation] Update implementation to match recent spec changes. (https://codereview.chromium.org/374623002/)

Reason for revert:
Causing content_browsertests failure on Android: http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/20086/steps/content_browsertests

Original issue's description:
> [screen-orientation] Update implementation to match recent spec changes.
> 
> https://github.com/w3c/screen-orientation/pull/21
> 
> BUG=162827
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177734

TBR=abarth@chromium.org,ager@chromium.org,mlamouri@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=162827

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177763 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Activity Logger Refactoring. (https://codereview.chromium.org/370763002/)

Reason for revert:
Change is causing layout test failures related to XmlHttpRequest: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.6/builds/29827

Original issue's description:
> Activity Logger Refactoring.
> 
> Enable Activity Logger to log issuing requests caused by extensions on pages.
> 
> BUG=388287
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177761

TBR=jochen@chromium.org,haraken@chromium.org,pfeldman@chromium.org,pmarch@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=388287

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177764 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjusting TestExpectations for object-embedding-svg-delayed-size-negotiation-2.htm

BUG=392626
TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177766 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Round layer transform JSON outputs that are close to zero

BUG=387398

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177767 bbb929c8-8fbe-4397-9dbb-9b2b20218538
SkBitmap::Config is deprecated, use SkColorType

NOTRY=True
BUG=skia:2706

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177768 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Context menu key should set event target to the focused element.

This patch adds a regression test for behavior that was fixed in Chrome between
version 35 and 37. Steps to reproduce:

1) Set an event handler for context menu on the document:

  document.addEventListener('contextmenu', function(e) {
    console.log(e.target.id);
    e.preventDefault();
  }, true);

2) Focus a div in the document:

  <div id="anchor" tabindex="0">Target</div>

3) Press the context menu key.

Expected: The console should print 'anchor', because the event target is the
div, not the document.

Observed (in version 35): The console prints '', because the event target was
the document.

BUG=381996
TEST=LayoutTests/fast/events/menu-key-context-menu-document.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177769 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Expose isEmailField() for input element

Motivation is to replace instances of "element.formControlType() == WebString::fromUTF8("email")" with isEmailField().

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177770 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: marking inspector/sources/debugger/async-callstack-in-console.html as flaky

BUG=392531
TBR=aandrey@chromium.org,yutak@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177771 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add InspectorInstrumentation over ExecutionContextTask and async call stacks for DataTransferItem.getAsString.

This instrumentation is needed to support async call stacks in DevTools on various async scenarios.
An example test is for DataTransferItem.getAsString() call.

BUG=272416
R=pfeldman, yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177772 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove CSS Shapes runtime flag

Remove CSS Shapes runtime flag, since it is stable and was intended to ship a long time ago:

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/N6_zzKAjLW4

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177773 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Return transform from transformationForTextBox instead of using out-param

Also simplify SVGTextChunkBuilder::transformationForTextBox while in
the neighborhood.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177774 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove superfluous LOG_DISABLED guard

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177775 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Correcting test expectations for svg/as-object/sizing/svg-in-object-placeholder-height-*

Associating flakiness with new bug and marking flaky crash on linux debug.

TBR=yutak@chromium.org
BUG=392640

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177776 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move sub-pixel text scaling XP and Mac expectations to NeverFixTests

The fast/text/sub-pixel/text-scaling* tests will never work on XP and
won't pass on Mac until we enable text antialiasing for tests (the
tests do pass on Mac as a part of the virtual/antialiasedtext test
suite).

Move the test lines to NeverFixTests accordingly.

TBR=ojan@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unskip virtual/antialiasedtext/fast/text/sub-pixel/text-scaling-pixel.html

Unskip the virtual/antialiasedtext/fast/text/sub-pixel/text-scaling-
pixel.html test but mark it as flaky to see if it still fails and if
so why.

TBR=dominik.rottsches@intel.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove out of date expectations for mac antialiasedtext

The following tests no longer fail for the virtual/antialiasedtext suite
on mac and the TestExpectations lines can thus be removed.

  fast/text/international/rtl-space-in-ltr-element.html
  fast/text/international/text-overflow-ellipsis-bidi.html
  fast/text/international/inline-block-with-mixed-direction-words.html

BUG=348911,367078
TBR=dominik.rottsches@intel.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move XP fast/text/international/plane2.html failure to NeverFixTests

fast/text/international/plane2.html covers characters that we do not
support on Windows XP. Move to NeverFixTests.

TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177781 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Manual rebaselines for r177698

TBR=pdr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Let RenderStyle::svgStyle() return reference

This seems the last accessor of RenderStyle DataRef fields returning
pointer. Let it return reference because DataRef is never null, also
to keep consistent with other accessors.

R=pdr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r177767

http://src.chromium.org/viewvc/blink?view=revision&revision=177767

BUG=387398
TBR=enne@chromium.org

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

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