Introduce ExecutionContextClient

This extracts most of the virtual functions from ScriptExecutionContext
to newly introduced ExecutionContextClient interface, which Document
and WorkerGlobalScope implement.

ScriptExecutionContext::suspendActiveDOMObjects(),
resumeActiveDOMObjects(), stopActiveDOMObjects() are devirtualized
as there are no overrides of them.

This is a preparation for decoupling ScriptExecutionContext
from Document inheritance chain.

BUG=305497
TEST=none
R=abarth@chromium.org, dglazkov@chromium.org, tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move more in files to make_qualified_names.py

This CL moves more qualified name generation from Perl to Python. I haven't
moved HTMLNames or SVGNames yet because those require an element factory
template.

R=eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159422 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use reference of Frame rather than pointer in InputMethodController

This patch changes InputMethodController class to use reference of Frame as member variable |m_frame| instead of pointer to Frame to improve readability and ease of maintenance; no more null check.

This patch is similar to https://codereview.chromium.org/26674003/ for SpellChecker.

BUG=n/a
TEST=n/a; no behavior changes
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Switch UseCounter to take a Document const ref instead of a pointer"

This reverts commit r159384 (bf738541bbd1d8d24a2533354e6f90308a09ebd5).
Because the CL caused security regression on the same origin check.

BUG=306350
TBR=adamk@chromium.org, esprehn@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159424 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add toSVGColor|Paint() to cleanup static_cast<>, and use it

SVGColor and SVGPaint can't use DEFINE_CSS_VALUE_TYPE_CASTS(), this cl adds
toSVGColor() and toSVGPaint() manually. Those functions will help to detect
bad type cast.

BUG=N/A

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

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