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

Unified Diff: content/test/layouttest_support.cc

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/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index a0d77b6ecbd0443d02b995e263b07aeb92ec65d2..77fb0d0eecec90677f8818c8bfff228c2ffbcc83 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -61,4 +61,8 @@ int GetLocalSessionHistoryLength(RenderView* render_view) {
->GetLocalSessionHistoryLengthForTesting();
}
+void DoNotRequireUserGestureForFocusChanges() {
+ RenderViewImpl::DoNotRequireUserGestureForFocusChangesForTesting();
+}
+
} // namespace content
« content/renderer/render_view_impl.cc ('K') | « content/shell/shell_render_process_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698