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

Side by Side Diff: ppapi/c/ppp_instance.h

Issue 6715024: fix spelling of comments (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 | « net/base/ssl_config_service_win.cc ('k') | remoting/base/tracer.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) 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_C_PPP_INSTANCE_H_ 5 #ifndef PPAPI_C_PPP_INSTANCE_H_
6 #define PPAPI_C_PPP_INSTANCE_H_ 6 #define PPAPI_C_PPP_INSTANCE_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_rect.h" 10 #include "ppapi/c/pp_rect.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 */ 113 */
114 void (*DidChangeFocus)(PP_Instance instance, PP_Bool has_focus); 114 void (*DidChangeFocus)(PP_Instance instance, PP_Bool has_focus);
115 115
116 /** 116 /**
117 * This value represents a pointer to a function to handle input events. 117 * This value represents a pointer to a function to handle input events.
118 * Returns true if the event was handled or false if it was not. 118 * Returns true if the event was handled or false if it was not.
119 * 119 *
120 * If the event was handled, it will not be forwarded to the web page or 120 * If the event was handled, it will not be forwarded to the web page or
121 * browser. If it was not handled, it will bubble according to the normal 121 * browser. If it was not handled, it will bubble according to the normal
122 * rules. So it is important that a module respond accurately with whether 122 * rules. So it is important that a module respond accurately with whether
123 * event propogation should continue. 123 * event propagation should continue.
124 * 124 *
125 * Event propogation also controls focus. If you handle an event like a mouse 125 * Event propagation also controls focus. If you handle an event like a mouse
126 * event, typically your module will be given focus. Returning false means 126 * event, typically your module will be given focus. Returning false means
127 * that the click will be given to a lower part of the page and your module 127 * that the click will be given to a lower part of the page and your module
128 * will not receive focus. This allows a module to be partially transparent, 128 * will not receive focus. This allows a module to be partially transparent,
129 * where clicks on the transparent areas will behave like clicks to the 129 * where clicks on the transparent areas will behave like clicks to the
130 * underlying page. 130 * underlying page.
131 * @param[in] instance A PP_Instance indentifying one instance of a module. 131 * @param[in] instance A PP_Instance indentifying one instance of a module.
132 * @param[in] event The event. 132 * @param[in] event The event.
133 * @return PP_TRUE if @a event was handled, PP_FALSE otherwise. 133 * @return PP_TRUE if @a event was handled, PP_FALSE otherwise.
134 */ 134 */
135 PP_Bool (*HandleInputEvent)(PP_Instance instance, 135 PP_Bool (*HandleInputEvent)(PP_Instance instance,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 * @return A PP_Var containing scriptable object. 172 * @return A PP_Var containing scriptable object.
173 */ 173 */
174 struct PP_Var (*GetInstanceObject)(PP_Instance instance); 174 struct PP_Var (*GetInstanceObject)(PP_Instance instance);
175 }; 175 };
176 /** 176 /**
177 * @} 177 * @}
178 */ 178 */
179 179
180 #endif /* PPAPI_C_PPP_INSTANCE_H_ */ 180 #endif /* PPAPI_C_PPP_INSTANCE_H_ */
181 181
OLDNEW
« no previous file with comments | « net/base/ssl_config_service_win.cc ('k') | remoting/base/tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698