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

Unified Diff: webkit/glue/webplugin_impl.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 | « webkit/glue/webplugin_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
===================================================================
--- webkit/glue/webplugin_impl.cc (revision 12476)
+++ webkit/glue/webplugin_impl.cc (working copy)
@@ -336,7 +336,7 @@
WebPluginImpl::~WebPluginImpl() {
}
-void WebPluginImpl::SetWindow(gfx::NativeView window,
+bool WebPluginImpl::SetWindow(gfx::NativeView window,
HANDLE pump_messages_event) {
if (window) {
DCHECK(!windowless_); // Make sure not called twice.
@@ -345,6 +345,8 @@
DCHECK(!window_); // Make sure not called twice.
windowless_ = true;
}
+
+ return true;
}
bool WebPluginImpl::CompleteURL(const std::string& url_in,
« no previous file with comments | « webkit/glue/webplugin_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698