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

Unified Diff: content/renderer/render_view_impl.h

Issue 12317133: [content shell] don't require a user action for focus/blur events during layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 0898a77958f06c16e4db39a97456dfa48851e037..3090d3b84b5b902df44a4108cb00f3b00aae40dc 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -232,6 +232,9 @@ class CONTENT_EXPORT RenderViewImpl
// Returns the RenderViewImpl for the given routing ID.
static RenderViewImpl* FromRoutingID(int routing_id);
+ // Don't require a user gesture for focus and blur events.
+ static void DoNotRequireUserGestureForFocusChangesForTesting();
+
// May return NULL when the view is closing.
WebKit::WebView* webview() const;

Powered by Google App Engine
This is Rietveld 408576698