summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/plugins/npapi/webplugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/plugins/npapi/webplugin.h b/webkit/plugins/npapi/webplugin.h
index 8b43eb4..986d828 100644
--- a/webkit/plugins/npapi/webplugin.h
+++ b/webkit/plugins/npapi/webplugin.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -93,10 +93,12 @@ class WebPlugin {
virtual void Invalidate() = 0;
virtual void InvalidateRect(const gfx::Rect& rect) = 0;
- // Returns the NPObject for the browser's window object.
+ // Returns the NPObject for the browser's window object. Does not
+ // take a reference.
virtual NPObject* GetWindowScriptNPObject() = 0;
- // Returns the DOM element that loaded the plugin.
+ // Returns the DOM element that loaded the plugin. Does not take a
+ // reference.
virtual NPObject* GetPluginElement() = 0;
// Cookies