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

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

Issue 6748006: Change a parameter name from message_data to message based on a review comment from http://codere... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | ppapi/cpp/instance.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_INSTANCE_H_ 5 #ifndef PPAPI_CPP_INSTANCE_H_
6 #define PPAPI_CPP_INSTANCE_H_ 6 #define PPAPI_CPP_INSTANCE_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * Defines the API ... 10 * Defines the API ...
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool IsFullFrame(); 95 bool IsFullFrame();
96 96
97 /** See PPB_Instance.ExecuteScript. */ 97 /** See PPB_Instance.ExecuteScript. */
98 Var ExecuteScript(const Var& script, Var* exception = NULL); 98 Var ExecuteScript(const Var& script, Var* exception = NULL);
99 99
100 // These functions use the PPP_Messaging and PPB_Messaging interfaces, so that 100 // These functions use the PPP_Messaging and PPB_Messaging interfaces, so that
101 // messaging can be done conveniently for a pp::Instance without using a 101 // messaging can be done conveniently for a pp::Instance without using a
102 // separate C++ class. 102 // separate C++ class.
103 103
104 /** See PPP_Messaging.HandleMessage. */ 104 /** See PPP_Messaging.HandleMessage. */
105 virtual void HandleMessage(const Var& message_data); 105 virtual void HandleMessage(const Var& message);
106 /** See PPB_Messaging.PostMessage. */ 106 /** See PPB_Messaging.PostMessage. */
107 void PostMessage(const Var& message); 107 void PostMessage(const Var& message);
108 108
109 // @} 109 // @}
110 110
111 /** 111 /**
112 * Associates a plugin instance with an interface, 112 * Associates a plugin instance with an interface,
113 * creating an object... {PENDING: clarify!} 113 * creating an object... {PENDING: clarify!}
114 * 114 *
115 * Many optional interfaces are associated with a plugin instance. For 115 * Many optional interfaces are associated with a plugin instance. For
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 InterfaceNameToObjectMap interface_name_to_objects_; 160 InterfaceNameToObjectMap interface_name_to_objects_;
161 }; 161 };
162 162
163 } // namespace pp 163 } // namespace pp
164 164
165 /** 165 /**
166 * @} 166 * @}
167 * End addtogroup CPP 167 * End addtogroup CPP
168 */ 168 */
169 #endif // PPAPI_CPP_INSTANCE_H_ 169 #endif // PPAPI_CPP_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698