Unreviewed, rolling out r144924.
http://trac.webkit.org/changeset/144924
https://bugs.webkit.org/show_bug.cgi?id=109908

caused multiple crashes in inspector/debugger tests

Source/WebCore:

* bindings/js/JSInjectedScriptHostCustom.cpp:
* bindings/js/ScriptObject.h:
* bindings/v8/ScriptObject.h:
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
* inspector/InjectedScriptHost.cpp:
(WebCore::InjectedScriptHost::create):
(WebCore::InjectedScriptHost::InjectedScriptHost):
(WebCore::InjectedScriptHost::disconnect):
* inspector/InjectedScriptHost.h:
(WebCore):
(InjectedScriptHost):
* inspector/InjectedScriptHost.idl:
* inspector/InjectedScriptManager.cpp:
(WebCore::InjectedScriptManager::InjectedScriptManager):
(WebCore::InjectedScriptManager::discardInjectedScripts):
(WebCore::InjectedScriptManager::discardInjectedScriptsFor):
* inspector/InjectedScriptManager.h:
(InjectedScriptManager):
* inspector/InjectedScriptSource.js:
(.):

LayoutTests:

* inspector-protocol/persistent-id-expected.txt: Removed.
* inspector-protocol/persistent-id.html: Removed.
* inspector/console/command-line-api-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] introduce WebUserGestureIndicator
https://bugs.webkit.org/show_bug.cgi?id=111531

Reviewed by Adam Barth.

Source/WebKit/chromium:

Currently, an embedder needs to have a WebFrame to check whether a
user gesture is being processed and to consume a user gesture. However,
the user gesture state is independed of a frame.

* WebKit.gyp:
* public/WebFrame.h:
(WebFrame):
* public/WebUserGestureIndicator.h: Added.
(WebKit):
(WebUserGestureIndicator):
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::isProcessingUserGesture):
(WebKit::WebFrameImpl::consumeUserGesture):
* src/WebUserGestureIndicator.cpp: Added.
(WebKit):
(WebKit::WebUserGestureIndicator::isProcessingUserGesture):
(WebKit::WebUserGestureIndicator::consumeUserGesture):

Tools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144951 268f45cc-cd09-0410-ab3c-d52691b4dbfc