Remove old APIs for copyTextureCHROMIUM(...) and copyVideoTextureToPlatformTexture(...).

Since all clients switched to use the new version of copyTextureCHROMIUM(...) and
copyVideoTextureToPlatformTexture(...), the older version should be removed.

BUG=239341

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
A focused element should lose focus when it becomes unfocusable.

According to the specification, we should remove focus when a focused element
becomes unforcusable, and Internet Explorer follows it.

We check focusable state after layout asynchronously because setFocusedNode(0)
dispatches synchronous events and callers of Document::updateLayout don't expect
DOM state changes. Also, we introduce m_didPostCheckFocusedNodeTask flag to avoid
duplicated tasks in the pending task queue.

BUG=178146
TEST=automated; This patch adds a layout test.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use __builtin_trap() on GCC too.

This saves 174608 bytes(!) in a Release DumpRenderTree on Linux x64.
Yeah, I checked it twice.

The old byte sequence is at least 4 bytes (plus a possible register trash which
may incur extra code bytes). The new sequence is a single byte.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix layering violation of core/platform/PopupMenu.h.

PopupMenu.h must not refer to FrameView class, which is a non-platform WebCore
class. This patch removes the FrameView argument of PopupMenu::show, and add
Frame argument to Chrome::createPopupMenu like other dialog functions of Chrome.

PopupMenu implementation classes (ExternalPopupMenu and PopupMenuChromium)
receive the Frame object as a construcor argument, and refer to it later.

BUG=242763
TEST=none; just a refactoring.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark several fast/css tests as [ Missing Pass ] on Mac.

BUG=239470
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150873 bbb929c8-8fbe-4397-9dbb-9b2b20218538
http/tests/inspector/appcache/appcache-iframe-manifests.html now times out rather than crashing.

Progress!

BUG=242485
TBR=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch layout test runner to content shell except for Android

Also dump ContentShellTestExpectations into TestExpectations

BUG=111316
TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150875 bbb929c8-8fbe-4397-9dbb-9b2b20218538
fast/css-intrinsic-dimensions/intrinsic-sized-flex-items.html is flaky/MISSING.

BUG=239470
TBR=jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add expectations for new failures on content shell linux

BUG=242457
TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add even more content shell linux expectations

BUG=242457
TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add new expectations for content shell Mac

BUG=242465
TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
editing/pasteboard crashes after content shell.

BUG=242851
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150881 bbb929c8-8fbe-4397-9dbb-9b2b20218538
New failures on Windows after content shell.

BUG=242855
TBR=jochen@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Moar mac expectations after content shell.

BUG=242465
TBR=jochen@chromium.org

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

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