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

Side by Side Diff: ppapi/cpp/var.h

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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 | « ppapi/c/ppb_var.h ('k') | ppapi/cpp/var.cc » ('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 PPAPI_CPP_VAR_H_ 5 #ifndef PPAPI_CPP_VAR_H_
6 #define PPAPI_CPP_VAR_H_ 6 #define PPAPI_CPP_VAR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ppapi/c/pp_module.h"
12 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
13 12
14 13
15 /// @file 14 /// @file
16 /// This file defines the API for handling the passing of data types between 15 /// This file defines the API for handling the passing of data types between
17 /// your module and the page. 16 /// your module and the page.
18 namespace pp { 17 namespace pp {
19 18
20 /// A generic type used for passing data types between the module and the page. 19 /// A generic type used for passing data types between the module and the page.
21 class Var { 20 class Var {
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 private: 291 private:
293 // Prevent an arbitrary pointer argument from being implicitly converted to 292 // Prevent an arbitrary pointer argument from being implicitly converted to
294 // a bool at Var construction. If somebody makes such a mistake, (s)he will 293 // a bool at Var construction. If somebody makes such a mistake, (s)he will
295 // get a compilation error. 294 // get a compilation error.
296 Var(void* non_scriptable_object_pointer); 295 Var(void* non_scriptable_object_pointer);
297 }; 296 };
298 297
299 } // namespace pp 298 } // namespace pp
300 299
301 #endif // PPAPI_CPP_VAR_H_ 300 #endif // PPAPI_CPP_VAR_H_
OLDNEW
« no previous file with comments | « ppapi/c/ppb_var.h ('k') | ppapi/cpp/var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698