Remove clearContextMenu from WebViewClient as it's not used anymore.

BUG=304341

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixing warning on using dpi in media query.

Since dpi values commonly used as a fallback if value is overriden by dppx-value.

BUG=336276

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use new is*Element() helper functions in CSS code

Use new is*Element() helpers in CSS code. This makes the code clearer
and simpler. Also use the new Traversal<*Element> API where suitable.

R=eseidel, adamk
BUG=346095

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid duplicate null check in ReplaceSelectionCommand::pastLastLeaf()

Avoid duplicate null check in ReplaceSelectionCommand::pastLastLeaf() by
calling m_lastNodeInserted->lastDescendant() directly instead of
lastLeafInserted(). This also makes it clearer by we are checking that
m_lastNodeInserted is not null as it is now explicitly use right after.
This avoid avoids dereferencing a pointer as we now get a reference
directly.

R=adamk

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

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