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

Unified Diff: content/browser/plugin_browsertest.cc

Issue 1153813003: Add user_gesture param to WebContentsDelegate::ActivateContents Base URL: https://chromium.googlesource.com/chromium/src.git@ug1_WebContentsImpl_Activate
Patch Set: Update callers Created 5 years, 7 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/browser/plugin_browsertest.cc
diff --git a/content/browser/plugin_browsertest.cc b/content/browser/plugin_browsertest.cc
index c37f7b702e67e5adacc25511d2b1bd628b2ccf19..47453975e8b24c423f2ca8ef34bcbeee9edb63db 100644
--- a/content/browser/plugin_browsertest.cc
+++ b/content/browser/plugin_browsertest.cc
@@ -439,7 +439,7 @@ IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_PluginConvertPointTest) {
// TODO: is this code still needed? It was here when it used to run in
// browser_tests.
//static_cast<WebContentsDelegate*>(shell())->
- // ActivateContents(shell()->web_contents());
+ // ActivateContents(shell()->web_contents(), false /* user_gesture */);
EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
}
#endif

Powered by Google App Engine
This is Rietveld 408576698