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

Unified Diff: webkit/glue/plugins/webplugin_delegate_impl.cc

Issue 16489: Adjusting the name of a function to make it more descriptive. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/plugins/webplugin_delegate_impl.h ('k') | webkit/glue/webwidget_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/webplugin_delegate_impl.cc
===================================================================
--- webkit/glue/plugins/webplugin_delegate_impl.cc (revision 7499)
+++ webkit/glue/plugins/webplugin_delegate_impl.cc (working copy)
@@ -53,7 +53,7 @@
WebPluginDelegateImpl* WebPluginDelegateImpl::Create(
const std::wstring& filename,
const std::string& mime_type,
- HWND containing_window) {
+ gfx::NativeView containing_view) {
scoped_refptr<NPAPI::PluginLib> plugin =
NPAPI::PluginLib::CreatePluginLib(filename);
if (plugin.get() == NULL)
@@ -65,7 +65,7 @@
scoped_refptr<NPAPI::PluginInstance> instance =
plugin->CreateInstance(mime_type);
- return new WebPluginDelegateImpl(containing_window, instance.get());
+ return new WebPluginDelegateImpl(containing_view, instance.get());
}
bool WebPluginDelegateImpl::IsPluginDelegateWindow(HWND window) {
@@ -120,9 +120,9 @@
}
WebPluginDelegateImpl::WebPluginDelegateImpl(
- HWND containing_window,
+ gfx::NativeView containing_view,
NPAPI::PluginInstance *instance)
- : parent_(containing_window),
+ : parent_(containing_view),
instance_(instance),
quirks_(0),
plugin_(NULL),
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_impl.h ('k') | webkit/glue/webwidget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698