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

Unified Diff: content/child/npapi/webplugin_delegate_impl_win.cc

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 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 | « content/child/npapi/webplugin_delegate_impl_mac.mm ('k') | content/child/npapi/webplugin_ime_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/webplugin_delegate_impl_win.cc
diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
index fffbe2e74f704e432af2fc0b34060ae93afb8043..221c23fd9fb6a90f76e60a7f8778f70e8dad3056 100644
--- a/content/child/npapi/webplugin_delegate_impl_win.cc
+++ b/content/child/npapi/webplugin_delegate_impl_win.cc
@@ -500,7 +500,7 @@ bool WebPluginDelegateImpl::WindowedCreatePlugin() {
DCHECK(result == TRUE) << "SetProp failed, last error = " << GetLastError();
// Calling SetWindowLongPtrA here makes the window proc ASCII, which is
- // required by at least the Shockwave Director plug-in.
+ // required by at least the Shockwave Director plugin.
SetWindowLongPtrA(windowed_handle_,
GWLP_WNDPROC,
reinterpret_cast<LONG_PTR>(DefWindowProcA));
@@ -872,7 +872,7 @@ LRESULT CALLBACK WebPluginDelegateImpl::WrapperWindowProc(
// window messages when its first parameter is a handle representing the
// DefWindowProc() function. To avoid this problem, this code creates a
// wrapper function which just encapsulates the DefWindowProc() function
- // and set it as the window procedure of a windowed plug-in.
+ // and set it as the window procedure of a windowed plugin.
return DefWindowProc(hWnd, message, wParam, lParam);
}
@@ -1207,8 +1207,8 @@ bool WebPluginDelegateImpl::PlatformHandleInputEvent(
return false;
}
- // Allow this plug-in to access this IME emulator through IMM32 API while the
- // plug-in is processing this event.
+ // Allow this plugin to access this IME emulator through IMM32 API while the
+ // plugin is processing this event.
if (GetQuirks() & PLUGIN_QUIRK_EMULATE_IME) {
if (!plugin_ime_)
plugin_ime_.reset(new WebPluginIMEWin);
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_mac.mm ('k') | content/child/npapi/webplugin_ime_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698