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

Side by Side Diff: webkit/plugins/ppapi/npapi_glue.h

Issue 8468026: Cleanup: Remove unneeded forward declarations in webkit/plugins/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/plugins/npapi/webplugin_page_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | 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 #ifndef WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_
6 #define WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/pp_module.h" 10 #include "ppapi/c/pp_module.h"
11 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
12 12
13 struct NPObject; 13 struct NPObject;
14 typedef struct _NPVariant NPVariant; 14 typedef struct _NPVariant NPVariant;
15 typedef void* NPIdentifier; 15 typedef void* NPIdentifier;
16 16
17 namespace webkit { 17 namespace webkit {
18 namespace ppapi { 18 namespace ppapi {
19 19
20 class PluginInstance; 20 class PluginInstance;
21 class PluginModule;
22 class PluginObject; 21 class PluginObject;
23 22
24 // Utilities ------------------------------------------------------------------- 23 // Utilities -------------------------------------------------------------------
25 24
26 // Converts the given PP_Var to an NPVariant, returning true on success. 25 // Converts the given PP_Var to an NPVariant, returning true on success.
27 // False means that the given variant is invalid. In this case, the result 26 // False means that the given variant is invalid. In this case, the result
28 // NPVariant will be set to a void one. 27 // NPVariant will be set to a void one.
29 // 28 //
30 // The contents of the PP_Var will be copied unless the PP_Var corresponds to 29 // The contents of the PP_Var will be copied unless the PP_Var corresponds to
31 // an object. 30 // an object.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 bool has_exception_; 271 bool has_exception_;
273 272
274 // May be null if the consumer isn't interesting in catching exceptions. 273 // May be null if the consumer isn't interesting in catching exceptions.
275 PP_Var* exception_; 274 PP_Var* exception_;
276 }; 275 };
277 276
278 } // namespace ppapi 277 } // namespace ppapi
279 } // namespace webkit 278 } // namespace webkit
280 279
281 #endif // WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_ 280 #endif // WEBKIT_PLUGINS_PPAPI_NPAPI_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_page_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698