Remove Position::findParent, all it does is call parentNode()

There's no reason to put a method wrapper around calling parentNode(), just
eliminate this method. I also renamed a bunch of local variables and refactored
the functions to be more modern and simplify the code.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157215 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add validator for "Frames to capture" setting

Added a validator that ensures the value is an integer from specified range.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove calls to HandleScope default ctor.

It's replaced by a version which takes an isolate. The default ctor will be removed soon.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157217 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support for Web Notifications should always be compiled in.

This patch removes the ENABLE_NOTIFICATIONS compile time define. The
ENABLE_LEGACY_NOTIFICATIONS define continues to exist and will be
disabled for Android, but enabled on all other platforms.

Removing ENABLE_NOTIFICATIONS increases the Android apk size in
Release mode by 8.3KB. When ENABLE_LEGACY_NOTIFICATIONS also is
enabled, the increase amounts to 11.6KB.

BUG=115320

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157218 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: Mark one test as flaky.

BUG=284531
TBR=alexis.menard@intel.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157219 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: use single overload to retrieve instrumenting agents for an object

We used to have a bunch of InstrumentingAgentsForFoo() to fetch instrumenting agents
for different types passed as first argument to instrumentation methods. This patch
turns them into overloads of instrumentingObjectsFor(). This would allow us to handle
objects inherited from already supported ones without introduction of additional methods.

BUG=
R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157220 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: added image node and URL to ImageDecode and ImageResize events.

Remember ImageRenderObject being painted for the time of paint and use it to
retrieve generating node id and resource URL when we encounter decode/resize.
This only works for main thread decode/resize so far, deferred ones require more
work.

BUG=
R=pfeldman@chromium.org

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

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