Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: sky/engine/web/WebFrame.cpp

Issue 868933003: Remove user gesture tracking (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/web/WebFrame.cpp
diff --git a/sky/engine/web/WebFrame.cpp b/sky/engine/web/WebFrame.cpp
index 25a66f60cb8e3059d353ee8d65e6b6db9b8130af..2e3df9f4ca353a88f30ecac5c8a15b47c001571c 100644
--- a/sky/engine/web/WebFrame.cpp
+++ b/sky/engine/web/WebFrame.cpp
@@ -6,7 +6,6 @@
#include "sky/engine/public/web/WebFrame.h"
#include <algorithm>
-#include "sky/engine/platform/UserGestureIndicator.h"
#include "sky/engine/web/WebLocalFrameImpl.h"
namespace blink {
@@ -19,16 +18,6 @@ Frame* toCoreFrame(const WebFrame* frame)
return static_cast<Frame*>(toWebLocalFrameImpl(frame)->frame());
}
-v8::Handle<v8::Value> WebFrame::executeScriptAndReturnValueForTests(const WebScriptSource& source)
-{
- // FIXME: This fake UserGestureIndicator is required for a bunch of browser
- // tests to pass. We should update the tests to simulate input and get rid
- // of this.
- // http://code.google.com/p/chromium/issues/detail?id=86397
- UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture);
- return executeScriptAndReturnValue(source);
-}
-
WebFrame* WebFrame::fromFrame(Frame* frame)
{
if (!frame)

Powered by Google App Engine
This is Rietveld 408576698