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

Unified Diff: chrome/plugin/webplugin_proxy.cc

Issue 42626: Report the plugin position to windowed plugins as (0,0)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/plugin/webplugin_proxy.h ('k') | webkit/glue/plugins/test/plugin_window_size_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_proxy.cc
===================================================================
--- chrome/plugin/webplugin_proxy.cc (revision 12476)
+++ chrome/plugin/webplugin_proxy.cc (working copy)
@@ -70,7 +70,7 @@
return channel_->Send(msg);
}
-void WebPluginProxy::SetWindow(HWND window, HANDLE pump_messages_event) {
+bool WebPluginProxy::SetWindow(HWND window, HANDLE pump_messages_event) {
HANDLE pump_messages_event_for_renderer = NULL;
if (pump_messages_event) {
@@ -104,6 +104,8 @@
Send(new PluginHostMsg_SetWindow(route_id_, window,
pump_messages_event_for_renderer));
+
+ return false;
}
void WebPluginProxy::CancelResource(int id) {
« no previous file with comments | « chrome/plugin/webplugin_proxy.h ('k') | webkit/glue/plugins/test/plugin_window_size_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698