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

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

Issue 9310068: Fix a tiny typo in the comment on pp::Instance::Init(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | 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.
dmichael (off chromium) 2012/02/02 19:49:56 2012; to save you the pre-commit check annoyance
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_INSTANCE_H_ 5 #ifndef PPAPI_CPP_INSTANCE_H_
6 #define PPAPI_CPP_INSTANCE_H_ 6 #define PPAPI_CPP_INSTANCE_H_
7 7
8 /// @file 8 /// @file
9 /// This file defines the C++ wrapper for an instance. 9 /// This file defines the C++ wrapper for an instance.
10 10
11 #include <map> 11 #include <map>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 /// <code>\<embed id="nacl_module" dimensions="2"\></code> will produce two 78 /// <code>\<embed id="nacl_module" dimensions="2"\></code> will produce two
79 /// argument names: "id" and "dimensions". 79 /// argument names: "id" and "dimensions".
80 /// 80 ///
81 /// @param[in] argv An array of argument values. These are the values of the 81 /// @param[in] argv An array of argument values. These are the values of the
82 /// arguments listed in the \<embed\> tag, for example 82 /// arguments listed in the \<embed\> tag, for example
83 /// <code>\<embed id="nacl_module" dimensions="2"\></code> will produce two 83 /// <code>\<embed id="nacl_module" dimensions="2"\></code> will produce two
84 /// argument values: "nacl_module" and "2". The indices of these values 84 /// argument values: "nacl_module" and "2". The indices of these values
85 /// match the indices of the corresponding names in <code>argn</code>. 85 /// match the indices of the corresponding names in <code>argn</code>.
86 /// 86 ///
87 /// @return true on success. Returning false causes the instance to be 87 /// @return true on success. Returning false causes the instance to be
88 /// instance to be deleted and no other functions to be called. 88 /// deleted and no other functions to be called.
89 virtual bool Init(uint32_t argc, const char* argn[], const char* argv[]); 89 virtual bool Init(uint32_t argc, const char* argn[], const char* argv[]);
90 90
91 /// @{ 91 /// @{
92 /// @name PPP_Instance methods for the module to override: 92 /// @name PPP_Instance methods for the module to override:
93 93
94 /// DidChangeView() is called when the view information for the Instance 94 /// DidChangeView() is called when the view information for the Instance
95 /// has changed. See the <code>View</code> object for information. 95 /// has changed. See the <code>View</code> object for information.
96 /// 96 ///
97 /// Most implementations will want to check if the size and user visibility 97 /// Most implementations will want to check if the size and user visibility
98 /// changed, and either resize themselves or start/stop generating updates. 98 /// changed, and either resize themselves or start/stop generating updates.
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 private: 510 private:
511 PP_Instance pp_instance_; 511 PP_Instance pp_instance_;
512 512
513 typedef std::map<std::string, void*> InterfaceNameToObjectMap; 513 typedef std::map<std::string, void*> InterfaceNameToObjectMap;
514 InterfaceNameToObjectMap interface_name_to_objects_; 514 InterfaceNameToObjectMap interface_name_to_objects_;
515 }; 515 };
516 516
517 } // namespace pp 517 } // namespace pp
518 518
519 #endif // PPAPI_CPP_INSTANCE_H_ 519 #endif // PPAPI_CPP_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698