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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.cc

Issue 11833016: Fix Sunspider performance regression (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | content/public/common/renderer_preferences.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_embedder.cc
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
index 130fe5b503a5cc6a90df1db4c69f5b0e02aa84eb..97e6cc43aa7560c3ee3aa6090521c0a5a1c8cd93 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
@@ -136,6 +136,9 @@ void BrowserPluginEmbedder::CreateGuest(
*guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs();
guest_renderer_prefs->throttle_input_events = false;
+ // We would like the guest to report changes to frame names so that we can
+ // update the BrowserPlugin's corresponding 'name' attribute.
Charlie Reis 2013/01/09 22:35:06 Please add a TODO with a bug number to remove this
Fady Samuel 2013/01/09 22:40:57 Done.
+ guest_renderer_prefs->report_frame_name_changes = true;
// Navigation is disabled in Chrome Apps. We want to make sure guest-initiated
// navigations still continue to function inside the app.
guest_renderer_prefs->browser_handles_all_top_level_requests = false;
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | content/public/common/renderer_preferences.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698