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

Side by Side Diff: webkit/plugins/npapi/plugin_instance.h

Issue 9863059: Fix some grammatical errors in webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/database/database_tracker.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO: Need to deal with NPAPI's NPSavedData. 5 // TODO: Need to deal with NPAPI's NPSavedData.
6 // I haven't seen plugins use it yet. 6 // I haven't seen plugins use it yet.
7 7
8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // list, which releases the reference maintained to the stream. 141 // list, which releases the reference maintained to the stream.
142 void RemoveStream(PluginStream* stream); 142 void RemoveStream(PluginStream* stream);
143 143
144 // Closes all open streams on this instance. 144 // Closes all open streams on this instance.
145 void CloseStreams(); 145 void CloseStreams();
146 146
147 // Returns the WebPluginResourceClient object for a stream that has become 147 // Returns the WebPluginResourceClient object for a stream that has become
148 // seekable. 148 // seekable.
149 WebPluginResourceClient* GetRangeRequest(int id); 149 WebPluginResourceClient* GetRangeRequest(int id);
150 150
151 // Have the plugin create it's script object. 151 // Have the plugin create its script object.
152 NPObject* GetPluginScriptableObject(); 152 NPObject* GetPluginScriptableObject();
153 153
154 // Returns the form value of this instance. 154 // Returns the form value of this instance.
155 bool GetFormValue(string16* value); 155 bool GetFormValue(string16* value);
156 156
157 // WebViewDelegate methods that we implement. This is for handling 157 // WebViewDelegate methods that we implement. This is for handling
158 // callbacks during getURLNotify. 158 // callbacks during getURLNotify.
159 void DidFinishLoadWithReason(const GURL& url, NPReason reason, int notify_id); 159 void DidFinishLoadWithReason(const GURL& url, NPReason reason, int notify_id);
160 160
161 // If true, send the Mozilla user agent instead of Chrome's to the plugin. 161 // If true, send the Mozilla user agent instead of Chrome's to the plugin.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 private: 363 private:
364 scoped_refptr<PluginInstance> instance_; 364 scoped_refptr<PluginInstance> instance_;
365 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); 365 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent);
366 }; 366 };
367 #endif 367 #endif
368 368
369 } // namespace npapi 369 } // namespace npapi
370 } // namespace webkit 370 } // namespace webkit
371 371
372 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ 372 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/database/database_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698