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

Unified Diff: content/child/npapi/plugin_host.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/browser/plugin_service_impl.h ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_host.cc
diff --git a/content/child/npapi/plugin_host.cc b/content/child/npapi/plugin_host.cc
index c2d68aa70c7ab1ad6f45165b4d6c1fdcd291834c..cdda9e41578897312d7faf4c33172ff63d721f7a 100644
--- a/content/child/npapi/plugin_host.cc
+++ b/content/child/npapi/plugin_host.cc
@@ -618,12 +618,12 @@ void NPN_InvalidateRect(NPP id, NPRect *invalidRect) {
// Before a windowless plugin can refresh part of its drawing area, it must
// first invalidate it. This function causes the NPP_HandleEvent method to
- // pass an update event or a paint message to the plug-in. After calling
- // this method, the plug-in receives a paint message asynchronously.
+ // pass an update event or a paint message to the plugin. After calling
+ // this method, the plugin receives a paint message asynchronously.
// The browser redraws invalid areas of the document and any windowless
- // plug-ins at regularly timed intervals. To force a paint message, the
- // plug-in can call NPN_ForceRedraw after calling this method.
+ // plugins at regularly timed intervals. To force a paint message, the
+ // plugin can call NPN_ForceRedraw after calling this method.
scoped_refptr<PluginInstance> plugin(FindInstance(id));
if (plugin.get() && plugin->webplugin()) {
@@ -665,7 +665,7 @@ void NPN_InvalidateRegion(NPP id, NPRegion invalidRegion) {
}
void NPN_ForceRedraw(NPP id) {
- // Forces repaint for a windowless plug-in.
+ // Forces repaint for a windowless plugin.
//
// We deliberately do not implement this; we don't want plugins forcing
// synchronous paints.
@@ -678,7 +678,7 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void* value) {
// NPNVxDisplay (unix only)
// NPNVxtAppContext (unix only)
// NPNVnetscapeWindow (win only) - Gets the native window on which the
- // plug-in drawing occurs, returns HWND
+ // plugin drawing occurs, returns HWND
// NPNVjavascriptEnabledBool: tells whether Javascript is enabled
// NPNVasdEnabledBool: tells whether SmartUpdate is enabled
// NPNVOfflineBool: tells whether offline-mode is enabled
« no previous file with comments | « content/browser/plugin_service_impl.h ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698