summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin
diff options
context:
space:
mode:
authorrfevang <rfevang@chromium.org>2014-12-02 19:17:32 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-03 03:17:57 +0000
commitdbf76266874b4b48ac25b9c66fb7b014998e5920 (patch)
treebe2f7c98d2b6d292e15dd4f44975a1c16b95fc43 /content/common/browser_plugin
parent7f990118ff9138f75bde38d870735dac8e38115a (diff)
downloadchromium_src-dbf76266874b4b48ac25b9c66fb7b014998e5920.zip
chromium_src-dbf76266874b4b48ac25b9c66fb7b014998e5920.tar.gz
chromium_src-dbf76266874b4b48ac25b9c66fb7b014998e5920.tar.bz2
Revert of Remove repaint flag in BrowserPluginHostMsg_ResizeGuest IPC (patchset #1 id:1 of https://codereview.chromium.org/769943002/)
Reason for revert: Seems to cause ExtensionBrowserTest.LoadChromeExtensionsWithOptionsParamWhenEmbedded to flakily fail. Fails in about 1 out of 5 attempts locally on my linux machine, much more often than that on the Win 7 dbg builder. Test fails with message: [19984:19984:1202/185946:FATAL:render_widget_host_impl.cc(1584)] Check failed: repaint_ack_pending_. Original issue's description: > Remove repaint flag in BrowserPluginHostMsg_ResizeGuest IPC > > BUG=434226 > > Committed: https://crrev.com/520b543435cdfc2c316c7ccc6225d29c974c93a9 > Cr-Commit-Position: refs/heads/master@{#306216} TBR=lazyboy@chromium.org,kenrb@chromium.org,fsamuel@chromium.org NOTREECHECKS=true NOTRY=true BUG=434226 Review URL: https://codereview.chromium.org/779513002 Cr-Commit-Position: refs/heads/master@{#306536}
Diffstat (limited to 'content/common/browser_plugin')
-rw-r--r--content/common/browser_plugin/browser_plugin_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index 8b76ea5..57070855 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -41,6 +41,10 @@ IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params)
IPC_STRUCT_MEMBER(gfx::Size, view_size)
// Indicates the scale factor of the embedder WebView.
IPC_STRUCT_MEMBER(float, scale_factor)
+ // Indicates a request for a full repaint of the page.
+ // This is required for switching from compositing to the software
+ // rendering path.
+ IPC_STRUCT_MEMBER(bool, repaint)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_Attach_Params)