Remove mutable keyword from member variables of Page

This CL removes mutable keyword as these are no longer used in const functions.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160406 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Vibration cannot be canceled during pattern vibration.

Vibration could not be canceled during pattern vibration is working.
In the resting time which are even numbers of pattern,
 m_isVibrating will be false and cancel will thus return early.
WebKit bug : https://bugs.webkit.org/show_bug.cgi?id=117822

BUG=222504,261467,310137

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160289

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate casting functions for Event subclasses by DEFINE_TYPE_CASTS macro.

This reduces source code size, and adds const/reference support.
This CL introduces DEFINE_EVENT_TYPE_CASTS macro for cases that Event
class has isTypeName() function.

BUG=309516
TEST=none; no behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160408 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: fast/dom/Geolocation/window-close-crash.html crashes Win7 dbg

Marking as such until the fix in the bug is reviewed and landed.

BUG=310326
TBR=jsbell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160409 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move members of HTMLPlugInImageElement to HTMLPlugInElement, part 5.

This CL moves the following member functions:
 - requestObject()
 - shouldUsePlugin()
 - loadPlugin()
 - pluginIsLoadable()

and remove m_createdDuringUserGesture, which is never referred.

This is a part of a task to merge HTMLPlugInImageELement into HTMLPlugInElement.
Only HTMLPlugInImageElement inherits from HTMLPlugInElement.

BUG=309978
R=hayato@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160410 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: form-method-dialog.html is no longer flaky

BUG=310330
TBR=jsbell

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

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