summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authorbinji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 22:26:15 +0000
committerbinji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 22:26:15 +0000
commit935d00fd2e39a0c216f798cb0453b298b9ad689f (patch)
tree4e61181702d7ac74542eecdc704ecb0447162644 /ppapi
parent1f1225be279e05a22e672284bf2f1a2200d70740 (diff)
downloadchromium_src-935d00fd2e39a0c216f798cb0453b298b9ad689f.zip
chromium_src-935d00fd2e39a0c216f798cb0453b298b9ad689f.tar.gz
chromium_src-935d00fd2e39a0c216f798cb0453b298b9ad689f.tar.bz2
[PPAPI] Fix a bunch of spelling mistakes
BUG=none Review URL: https://codereview.chromium.org/13220002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/api/dev/ppb_font_dev.idl6
-rw-r--r--ppapi/api/dev/ppb_text_input_dev.idl6
-rw-r--r--ppapi/api/dev/ppb_zoom_dev.idl2
-rw-r--r--ppapi/api/dev/ppp_text_input_dev.idl2
-rw-r--r--ppapi/api/pp_array_output.idl2
-rw-r--r--ppapi/api/pp_errors.idl2
-rw-r--r--ppapi/api/pp_file_info.idl2
-rw-r--r--ppapi/api/pp_input_event.idl4
-rw-r--r--ppapi/api/pp_resource.idl2
-rw-r--r--ppapi/api/pp_touch_point.idl2
-rw-r--r--ppapi/api/ppb_audio_config.idl2
-rw-r--r--ppapi/api/ppb_graphics_2d.idl2
-rw-r--r--ppapi/api/ppb_graphics_3d.idl4
-rw-r--r--ppapi/api/ppb_input_event.idl2
-rw-r--r--ppapi/api/ppb_message_loop.idl8
-rw-r--r--ppapi/api/ppb_mouse_cursor.idl4
-rw-r--r--ppapi/api/ppb_url_loader.idl2
-rw-r--r--ppapi/api/ppb_url_request_info.idl4
-rw-r--r--ppapi/api/private/ppb_flash.idl4
-rw-r--r--ppapi/api/private/ppb_flash_clipboard.idl2
-rw-r--r--ppapi/api/private/ppb_network_monitor_private.idl2
-rw-r--r--ppapi/api/private/ppb_tcp_server_socket_private.idl2
-rw-r--r--ppapi/api/private/ppp_flash_browser_operations.idl2
-rw-r--r--ppapi/api/private/ppp_instance_private.idl2
-rw-r--r--ppapi/api/trusted/ppb_browser_font_trusted.idl2
-rw-r--r--ppapi/c/dev/ppb_font_dev.h8
-rw-r--r--ppapi/c/dev/ppb_text_input_dev.h8
-rw-r--r--ppapi/c/dev/ppb_zoom_dev.h4
-rw-r--r--ppapi/c/dev/ppp_text_input_dev.h4
-rw-r--r--ppapi/c/pp_array_output.h4
-rw-r--r--ppapi/c/pp_errors.h4
-rw-r--r--ppapi/c/pp_file_info.h4
-rw-r--r--ppapi/c/pp_input_event.h6
-rw-r--r--ppapi/c/pp_resource.h6
-rw-r--r--ppapi/c/pp_touch_point.h4
-rw-r--r--ppapi/c/ppb_audio_config.h4
-rw-r--r--ppapi/c/ppb_graphics_2d.h4
-rw-r--r--ppapi/c/ppb_graphics_3d.h6
-rw-r--r--ppapi/c/ppb_input_event.h4
-rw-r--r--ppapi/c/ppb_message_loop.h10
-rw-r--r--ppapi/c/ppb_mouse_cursor.h6
-rw-r--r--ppapi/c/ppb_url_loader.h4
-rw-r--r--ppapi/c/ppb_url_request_info.h6
-rw-r--r--ppapi/c/private/ppb_flash.h6
-rw-r--r--ppapi/c/private/ppb_flash_clipboard.h4
-rw-r--r--ppapi/c/private/ppb_network_monitor_private.h4
-rw-r--r--ppapi/c/private/ppb_tcp_server_socket_private.h4
-rw-r--r--ppapi/c/private/ppp_flash_browser_operations.h4
-rw-r--r--ppapi/c/private/ppp_instance_private.h4
-rw-r--r--ppapi/c/trusted/ppb_browser_font_trusted.h4
-rw-r--r--ppapi/cpp/audio_config.h2
-rw-r--r--ppapi/cpp/dev/file_chooser_dev.h2
-rw-r--r--ppapi/cpp/dev/scriptable_object_deprecated.cc2
-rw-r--r--ppapi/cpp/dev/scriptable_object_deprecated.h2
-rw-r--r--ppapi/cpp/dev/var_array_dev.h4
-rw-r--r--ppapi/cpp/dev/var_dictionary_dev.h4
-rw-r--r--ppapi/cpp/extensions/ext_output_traits.h2
-rw-r--r--ppapi/cpp/file_io.h4
-rw-r--r--ppapi/cpp/graphics_2d.h2
-rw-r--r--ppapi/cpp/graphics_3d.h2
-rw-r--r--ppapi/cpp/input_event.h20
-rw-r--r--ppapi/cpp/instance.h4
-rw-r--r--ppapi/cpp/message_loop.h7
-rw-r--r--ppapi/cpp/module.h2
-rw-r--r--ppapi/cpp/mouse_cursor.h4
-rw-r--r--ppapi/cpp/point.h4
-rw-r--r--ppapi/cpp/private/network_list_private.cc2
-rw-r--r--ppapi/cpp/private/var_private.h2
-rw-r--r--ppapi/cpp/rect.cc4
-rw-r--r--ppapi/cpp/rect.h4
-rw-r--r--ppapi/cpp/url_loader.h4
-rw-r--r--ppapi/cpp/url_request_info.h2
-rw-r--r--ppapi/cpp/url_response_info.h2
-rw-r--r--ppapi/cpp/var.h4
-rw-r--r--ppapi/cpp/var_array_buffer.h2
75 files changed, 147 insertions, 146 deletions
diff --git a/ppapi/api/dev/ppb_font_dev.idl b/ppapi/api/dev/ppb_font_dev.idl
index 5d582d1..d2051a0 100644
--- a/ppapi/api/dev/ppb_font_dev.idl
+++ b/ppapi/api/dev/ppb_font_dev.idl
@@ -126,7 +126,7 @@ struct PP_TextRun_Dev {
* When <code>override_direction</code> is false, the browser will perform
* the Unicode Bidirectional Algorithm (http://unicode.org/reports/tr9/) on
* the text. The value of the <code>rtl</code> flag specifies the
- * direcionality of the surrounding environment. This means that Hebrew
+ * directionality of the surrounding environment. This means that Hebrew
* word will always display right to left, even if <code>rtl</code> is false.
*
* When <code>override_direction</code> is true, no autodetection will be done
@@ -142,7 +142,7 @@ struct PP_TextRun_Dev {
* content.
*
* If this flag is set, the browser will skip autodetection of the content
- * and will display all text in the direction speficied by the
+ * and will display all text in the direction specified by the
* <code>rtl</code> flag.
*/
PP_Bool override_direction;
@@ -206,7 +206,7 @@ interface PPB_Font_Dev {
* clipped to the image.
*
* The image_data_is_opaque flag indicates whether subpixel antialiasing can
- * be performend, if it is supported. When the image below the text is
+ * be performed, if it is supported. When the image below the text is
* opaque, subpixel antialiasing is supported and you should set this to
* PP_TRUE to pick up the user's default preferences. If your plugin is
* partially transparent, then subpixel antialiasing is not possible and
diff --git a/ppapi/api/dev/ppb_text_input_dev.idl b/ppapi/api/dev/ppb_text_input_dev.idl
index d8c4176..27704b0 100644
--- a/ppapi/api/dev/ppb_text_input_dev.idl
+++ b/ppapi/api/dev/ppb_text_input_dev.idl
@@ -73,16 +73,16 @@ interface PPB_TextInput_Dev {
* call, informs the browser about the current text selection and surrounding
* text. <code>text</code> is a UTF-8 string that contains the current range
* of text selection in the plugin. <code>caret</code> is the byte-index of
- * the caret poisition within <code>text</code>. <code>anchor</code> is the
+ * the caret position within <code>text</code>. <code>anchor</code> is the
* byte-index of the anchor position (i.e., if a range of text is selected,
- * it is the other edge of selection diffrent from <code>caret</code>. If
+ * it is the other edge of selection different from <code>caret</code>. If
* there are no selection, <code>anchor</code> is equal to <code>caret</code>.
*
* Typical use of this information in the browser is to enable "reconversion"
* features of IME that puts back the already committed text into the
* pre-commit composition state. Another use is to improve the precision
* of suggestion of IME by taking the context into account (e.g., if the caret
- * looks to be on the begining of a sentense, suggest capital letters in a
+ * looks to be on the beginning of a sentence, suggest capital letters in a
* virtual keyboard).
*
* When the focus is not on text, call this function setting <code>text</code>
diff --git a/ppapi/api/dev/ppb_zoom_dev.idl b/ppapi/api/dev/ppb_zoom_dev.idl
index 5e9514e..874bc8a 100644
--- a/ppapi/api/dev/ppb_zoom_dev.idl
+++ b/ppapi/api/dev/ppb_zoom_dev.idl
@@ -25,7 +25,7 @@ interface PPB_Zoom_Dev {
void ZoomChanged([in] PP_Instance instance,
[in] double_t factor);
/**
- * Sets the mininum and maximium zoom factors.
+ * Sets the minimum and maximum zoom factors.
*/
void ZoomLimitsChanged([in] PP_Instance instance,
[in] double_t minimum_factor,
diff --git a/ppapi/api/dev/ppp_text_input_dev.idl b/ppapi/api/dev/ppp_text_input_dev.idl
index 6e692bf..b6bdd88 100644
--- a/ppapi/api/dev/ppp_text_input_dev.idl
+++ b/ppapi/api/dev/ppp_text_input_dev.idl
@@ -17,7 +17,7 @@ label Chrome {
*/
interface PPP_TextInput_Dev {
/**
- * Requests the plugin to send back the text arround the current caret or
+ * Requests the plugin to send back the text around the current caret or
* selection by <code>PPB_TextInput_Dev::UpdateSurroundingText</code>.
* It is recommended to include the <code>desired_number_of_characters</code>
* characters before and after the selection, but not mandatory.
diff --git a/ppapi/api/pp_array_output.idl b/ppapi/api/pp_array_output.idl
index b3b508a..be1aca7 100644
--- a/ppapi/api/pp_array_output.idl
+++ b/ppapi/api/pp_array_output.idl
@@ -43,7 +43,7 @@ typedef mem_t PP_ArrayOutput_GetDataBuffer([inout] mem_t user_data,
/**
* A structure that defines a way for the browser to return arrays of data
* to the plugin. The browser can not allocate memory on behalf of the plugin
- * becaues the plugin and browser may have different allocators.
+ * because the plugin and browser may have different allocators.
*
* Array output works by having the browser call to the plugin to allocate a
* buffer, and then the browser will copy the contents of the array into that
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl
index 54a3ace..587d057 100644
--- a/ppapi/api/pp_errors.idl
+++ b/ppapi/api/pp_errors.idl
@@ -89,7 +89,7 @@
* calls on background threads are not currently supported. Until this
* support is complete, you must either do asynchronous operations on the
* main thread, or provide an adaptor for a blocking background thread to
- * execute the operaitions on the main thread.
+ * execute the operations on the main thread.
*/
PP_ERROR_BLOCKS_MAIN_THREAD = -13,
diff --git a/ppapi/api/pp_file_info.idl b/ppapi/api/pp_file_info.idl
index b0fa3732..0d2c3b60 100644
--- a/ppapi/api/pp_file_info.idl
+++ b/ppapi/api/pp_file_info.idl
@@ -29,7 +29,7 @@ enum PP_FileSystemType {
PP_FILESYSTEMTYPE_INVALID = 0,
/** For external file system types */
PP_FILESYSTEMTYPE_EXTERNAL = 1,
- /** For local persistant file system types */
+ /** For local persistent file system types */
PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2,
/** For local temporary file system types */
PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3
diff --git a/ppapi/api/pp_input_event.idl b/ppapi/api/pp_input_event.idl
index d5a6389..e08f090 100644
--- a/ppapi/api/pp_input_event.idl
+++ b/ppapi/api/pp_input_event.idl
@@ -54,8 +54,8 @@ struct PP_InputEvent_Key {
* accent up (it didn't generate a character), letter key down, letter with
* accent character event (it was modified by the previous accent key), letter
* key up. If the letter can't be combined with the accent, like an umlaut and
- * an 'R', the system might send unlaut down, umlaut up, 'R' key down, umlaut
- * character (can't combine it with 'R', so just send the raw unlaut so it
+ * an 'R', the system might send umlaut down, umlaut up, 'R' key down, umlaut
+ * character (can't combine it with 'R', so just send the raw umlaut so it
* isn't lost"), 'R' character event, 'R' key up.
*/
[assert_size(12)]
diff --git a/ppapi/api/pp_resource.idl b/ppapi/api/pp_resource.idl
index 453a00e..7f09d29 100644
--- a/ppapi/api/pp_resource.idl
+++ b/ppapi/api/pp_resource.idl
@@ -9,7 +9,7 @@
*/
/**
- * This typdef represents an opaque handle assigned by the browser to the
+ * This typedef represents an opaque handle assigned by the browser to the
* resource. The handle is guaranteed never to be 0 for a valid resource, so a
* module can initialize it to 0 to indicate a "NULL handle." Some interfaces
* may return a NULL resource to indicate failure.
diff --git a/ppapi/api/pp_touch_point.idl b/ppapi/api/pp_touch_point.idl
index 3d58380..42c0809 100644
--- a/ppapi/api/pp_touch_point.idl
+++ b/ppapi/api/pp_touch_point.idl
@@ -11,7 +11,7 @@
/**
* The <code>PP_TouchPoint</code> struct represents all information about a
- * single touch point, such ase position, id, rotation angle, and pressure.
+ * single touch point, such as position, id, rotation angle, and pressure.
*/
[assert_size(28), returnByValue]
struct PP_TouchPoint {
diff --git a/ppapi/api/ppb_audio_config.idl b/ppapi/api/ppb_audio_config.idl
index 73666e7..1d64b4f 100644
--- a/ppapi/api/ppb_audio_config.idl
+++ b/ppapi/api/ppb_audio_config.idl
@@ -200,7 +200,7 @@ interface PPB_AudioConfig {
* RecommendSampleRate() returns the native sample rate that the browser
* is using in the backend. Applications that use the recommended sample
* rate will have potentially better latency and fidelity. The return value
- * is indended for audio output devices. If the output sample rate cannot be
+ * is intended for audio output devices. If the output sample rate cannot be
* determined, this function can return PP_AUDIOSAMPLERATE_NONE.
*
* @param[in] instance
diff --git a/ppapi/api/ppb_graphics_2d.idl b/ppapi/api/ppb_graphics_2d.idl
index 938f428..1dddc65 100644
--- a/ppapi/api/ppb_graphics_2d.idl
+++ b/ppapi/api/ppb_graphics_2d.idl
@@ -66,7 +66,7 @@ interface PPB_Graphics2D {
* @param[in,out] is_always_opaque Identifies whether only opaque data
* will be painted.
*
- * @return Returns <code>PP_TRUE</code> on succes or <code>PP_FALSE</code> if
+ * @return Returns <code>PP_TRUE</code> on success or <code>PP_FALSE</code> if
* the resource is invalid. The output parameters will be set to 0 on a
* <code>PP_FALSE</code>.
*/
diff --git a/ppapi/api/ppb_graphics_3d.idl b/ppapi/api/ppb_graphics_3d.idl
index 454b3e3..34b10af 100644
--- a/ppapi/api/ppb_graphics_3d.idl
+++ b/ppapi/api/ppb_graphics_3d.idl
@@ -209,7 +209,7 @@ interface PPB_Graphics3D {
* The recoverable error conditions that have no side effect are
* detected and returned immediately by all functions in this interface.
* In addition the implementation may get into a fatal state while
- * processing a command. In this case the application must detroy the
+ * processing a command. In this case the application must destroy the
* context and reinitialize client API state and objects to continue
* rendering.
*
@@ -217,7 +217,7 @@ interface PPB_Graphics3D {
* It is recommended to handle error in the SwapBuffers callback because
* GetError is synchronous. This function may be useful in rare cases where
* drawing a frame is expensive and you want to verify the result of
- * ResizeBuffers before attemptimg to draw a frame.
+ * ResizeBuffers before attempting to draw a frame.
*
* @param[in] The 3D graphics context.
* @return Returns:
diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl
index 496a0a6..083b62e 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -890,7 +890,7 @@ interface PPB_TouchInputEvent {
[in] uint32_t index);
/**
- * Returns the touch-point with the spcified touch-id in the specified list.
+ * Returns the touch-point with the specified touch-id in the specified list.
*
* @param[in] resource A <code>PP_Resource</code> corresponding to a touch
* event.
diff --git a/ppapi/api/ppb_message_loop.idl b/ppapi/api/ppb_message_loop.idl
index 5ae00b1..fad873a 100644
--- a/ppapi/api/ppb_message_loop.idl
+++ b/ppapi/api/ppb_message_loop.idl
@@ -23,7 +23,7 @@ label Chrome {
* suddenly see their PP_Resource handles become invalid. In this case, calls
* will fail with PP_ERROR_BADRESOURCE. If you need to access data associated
* with your instance, you will probably want to create some kind of threadsafe
- * proxy object that can handle asynchonous destruction of the instance object.
+ * proxy object that can handle asynchronous destruction of the instance object.
*
* Typical usage:
* On the main thread:
@@ -36,7 +36,7 @@ label Chrome {
* - Call AttachToCurrentThread() with the message loop resource.
* - Call Run() with the message loop resource.
*
- * Your callacks should look like this:
+ * Your callbacks should look like this:
* void DoMyWork(void* user_data, int32_t status) {
* if (status != PP_OK) {
* Cleanup(); // e.g. free user_data.
@@ -206,7 +206,7 @@ interface PPB_MessageLoop {
*
* @param callback The completion callback to execute from the message loop.
*
- * @param delay_ms The number of millseconds to delay execution of the given
+ * @param delay_ms The number of milliseconds to delay execution of the given
* completion callback. Passing 0 means it will get queued normally and
* executed in order.
*
@@ -221,7 +221,7 @@ interface PPB_MessageLoop {
* run your callback with an error without causing unexpected threading
* problems). If you associate memory with the completion callback (for
* example, you're using the C++ CompletionCallbackFactory), you will need to
- * free this or manually run the callback. See "Desctruction and error
+ * free this or manually run the callback. See "Destruction and error
* handling" above.
*
*
diff --git a/ppapi/api/ppb_mouse_cursor.idl b/ppapi/api/ppb_mouse_cursor.idl
index cb91786..9fba254 100644
--- a/ppapi/api/ppb_mouse_cursor.idl
+++ b/ppapi/api/ppb_mouse_cursor.idl
@@ -82,7 +82,7 @@ interface PPB_MouseCursor {
* cursor, set the type to <code>PP_MOUSECURSOR_TYPE_CUSTOM</code> and
* specify your image and hot spot.
*
- * @param[in] instance A <code>PP_Instance</code> indentifying the instance
+ * @param[in] instance A <code>PP_Instance</code> identifying the instance
* that the mouse cursor will affect.
*
* @param[in] type A <code>PP_MouseCursor_Type</code> identifying the type of
@@ -94,7 +94,7 @@ interface PPB_MouseCursor {
* pixels in each direction and must be of the system's native image format.
* When you are specifying a predefined cursor, this parameter must be 0.
*
- * @param[in] hot_spot When setting a custom cursor, this idenfifies the
+ * @param[in] hot_spot When setting a custom cursor, this identifies the
* pixel position within the given image of the "hot spot" of the cursor.
* When specifying a stock cursor, this parameter is ignored.
*
diff --git a/ppapi/api/ppb_url_loader.idl b/ppapi/api/ppb_url_loader.idl
index ad31100..d6076bb 100644
--- a/ppapi/api/ppb_url_loader.idl
+++ b/ppapi/api/ppb_url_loader.idl
@@ -71,7 +71,7 @@ interface PPB_URLLoader {
* <code>URLRequestInfo</code>.
* @param[in] callback A <code>PP_CompletionCallback</code> to run on
* asynchronous completion of Open(). This callback will run when response
- * headers for the url are received or error occured. This callback
+ * headers for the url are received or error occurred. This callback
* will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>.
*
* @return An int32_t containing an error code from <code>pp_errors.h</code>.
diff --git a/ppapi/api/ppb_url_request_info.idl b/ppapi/api/ppb_url_request_info.idl
index 2097e2d..856ae81 100644
--- a/ppapi/api/ppb_url_request_info.idl
+++ b/ppapi/api/ppb_url_request_info.idl
@@ -35,7 +35,7 @@ enum PP_URLRequestProperty {
* This corresponds to a string (<code>PP_VARTYPE_STRING</code>); \n
* delimited. Refer to the
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header
- * Field Definitions</a> documentaiton for further information.
+ * Field Definitions</a> documentation for further information.
*/
PP_URLREQUESTPROPERTY_HEADERS = 2,
@@ -69,7 +69,7 @@ enum PP_URLRequestProperty {
* This corresponds to a <code>PP_Bool</code>
* (default=<code>PP_FALSE</code>). Set this value to <code>PP_TRUE</code> if
* you want to be able to poll the upload progress using
- * PPB_URLLoader.GetUplaodProgress().
+ * PPB_URLLoader.GetUploadProgress().
*/
PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS = 6,
diff --git a/ppapi/api/private/ppb_flash.idl b/ppapi/api/private/ppb_flash.idl
index bedef84..5327cab 100644
--- a/ppapi/api/private/ppb_flash.idl
+++ b/ppapi/api/private/ppb_flash.idl
@@ -52,7 +52,7 @@ enum PP_FlashSetting {
PP_FLASHSETTING_3DENABLED = 1,
/**
- * Specifies if the given instance is in private/inconito/off-the-record mode
+ * Specifies if the given instance is in private/incognito/off-the-record mode
* (returns true) or "regular" mode (returns false). Returns an undefined
* PP_Var on invalid instance.
*/
@@ -187,7 +187,7 @@ interface PPB_Flash {
[in] PP_Module module);
/**
- * Loads the given font in a more priviledged process on Windows. Call this if
+ * Loads the given font in a more privileged process on Windows. Call this if
* Windows is giving errors for font calls. See
* content/renderer/font_cache_dispatcher_win.cc
*
diff --git a/ppapi/api/private/ppb_flash_clipboard.idl b/ppapi/api/private/ppb_flash_clipboard.idl
index c8a01eb..5a97318 100644
--- a/ppapi/api/private/ppb_flash_clipboard.idl
+++ b/ppapi/api/private/ppb_flash_clipboard.idl
@@ -26,7 +26,7 @@ enum PP_Flash_Clipboard_Type {
};
/**
- * This enumeration contains the predfined clipboard data formats.
+ * This enumeration contains the predefined clipboard data formats.
*/
[assert_size(4)]
enum PP_Flash_Clipboard_Format {
diff --git a/ppapi/api/private/ppb_network_monitor_private.idl b/ppapi/api/private/ppb_network_monitor_private.idl
index 8144605..fe264a6 100644
--- a/ppapi/api/private/ppb_network_monitor_private.idl
+++ b/ppapi/api/private/ppb_network_monitor_private.idl
@@ -31,7 +31,7 @@ interface PPB_NetworkMonitor_Private {
* Starts network change monitoring. The specified
* <code>callback</code> will be called on the main thread once
* after this method is called (to supply the initial network
- * configuarion) and then later every time network configuration
+ * configuration) and then later every time network configuration
* changes. Notifications are stopped when the returned resource is
* destroyed. If the plugin doesn't have access to the network list
* then the callback will be called once with the
diff --git a/ppapi/api/private/ppb_tcp_server_socket_private.idl b/ppapi/api/private/ppb_tcp_server_socket_private.idl
index a1224e1..f04635c 100644
--- a/ppapi/api/private/ppb_tcp_server_socket_private.idl
+++ b/ppapi/api/private/ppb_tcp_server_socket_private.idl
@@ -46,7 +46,7 @@ interface PPB_TCPServerSocket_Private {
* PPB_TCPSocket_Private and stores reference to it in
* |tcp_socket|. |callback| is invoked when connection is accepted
* or in the case of failure. This method can be called only after
- * succesfull Listen call on |tcp_server_socket|.
+ * successful Listen call on |tcp_server_socket|.
*/
int32_t Accept([in] PP_Resource tcp_server_socket,
[out] PP_Resource tcp_socket,
diff --git a/ppapi/api/private/ppp_flash_browser_operations.idl b/ppapi/api/private/ppp_flash_browser_operations.idl
index acd4432..1504ad1 100644
--- a/ppapi/api/private/ppp_flash_browser_operations.idl
+++ b/ppapi/api/private/ppp_flash_browser_operations.idl
@@ -149,7 +149,7 @@ interface PPP_Flash_BrowserOperations {
* @param[in] plugin_data_path String containing the directory where the
* plugin data is stored.
* @param[out] sites A NULL-terminated array of sites that have stored data.
- * Use FreeSiteList on the the array when done.
+ * Use FreeSiteList on the array when done.
*
* See also the NPP_GetSitesWithData function in NPAPI:
* https://wiki.mozilla.org/NPAPI:ClearSiteData
diff --git a/ppapi/api/private/ppp_instance_private.idl b/ppapi/api/private/ppp_instance_private.idl
index aaa0060..3756faf 100644
--- a/ppapi/api/private/ppp_instance_private.idl
+++ b/ppapi/api/private/ppp_instance_private.idl
@@ -29,7 +29,7 @@ interface PPP_Instance_Private {
* The returned PP_Var should have a reference added for the caller, which
* will be responsible for Release()ing that reference.
*
- * @param[in] instance A PP_Instance indentifying the instance from which the
+ * @param[in] instance A PP_Instance identifying the instance from which the
* instance object is being requested.
* @return A PP_Var containing scriptable object.
*/
diff --git a/ppapi/api/trusted/ppb_browser_font_trusted.idl b/ppapi/api/trusted/ppb_browser_font_trusted.idl
index 79cee8c..7a79417 100644
--- a/ppapi/api/trusted/ppb_browser_font_trusted.idl
+++ b/ppapi/api/trusted/ppb_browser_font_trusted.idl
@@ -202,7 +202,7 @@ interface PPB_BrowserFont_Trusted {
* clipped to the image.
*
* The image_data_is_opaque flag indicates whether subpixel antialiasing can
- * be performend, if it is supported. When the image below the text is
+ * be performed, if it is supported. When the image below the text is
* opaque, subpixel antialiasing is supported and you should set this to
* PP_TRUE to pick up the user's default preferences. If your plugin is
* partially transparent, then subpixel antialiasing is not possible and
diff --git a/ppapi/c/dev/ppb_font_dev.h b/ppapi/c/dev/ppb_font_dev.h
index ad85a24..4e7bea1 100644
--- a/ppapi/c/dev/ppb_font_dev.h
+++ b/ppapi/c/dev/ppb_font_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppb_font_dev.idl modified Mon Jun 25 14:54:48 2012. */
+/* From dev/ppb_font_dev.idl modified Thu Mar 28 10:56:39 2013. */
#ifndef PPAPI_C_DEV_PPB_FONT_DEV_H_
#define PPAPI_C_DEV_PPB_FONT_DEV_H_
@@ -145,7 +145,7 @@ struct PP_TextRun_Dev {
* When <code>override_direction</code> is false, the browser will perform
* the Unicode Bidirectional Algorithm (http://unicode.org/reports/tr9/) on
* the text. The value of the <code>rtl</code> flag specifies the
- * direcionality of the surrounding environment. This means that Hebrew
+ * directionality of the surrounding environment. This means that Hebrew
* word will always display right to left, even if <code>rtl</code> is false.
*
* When <code>override_direction</code> is true, no autodetection will be done
@@ -160,7 +160,7 @@ struct PP_TextRun_Dev {
* content.
*
* If this flag is set, the browser will skip autodetection of the content
- * and will display all text in the direction speficied by the
+ * and will display all text in the direction specified by the
* <code>rtl</code> flag.
*/
PP_Bool override_direction;
@@ -224,7 +224,7 @@ struct PPB_Font_Dev_0_6 {
* clipped to the image.
*
* The image_data_is_opaque flag indicates whether subpixel antialiasing can
- * be performend, if it is supported. When the image below the text is
+ * be performed, if it is supported. When the image below the text is
* opaque, subpixel antialiasing is supported and you should set this to
* PP_TRUE to pick up the user's default preferences. If your plugin is
* partially transparent, then subpixel antialiasing is not possible and
diff --git a/ppapi/c/dev/ppb_text_input_dev.h b/ppapi/c/dev/ppb_text_input_dev.h
index 7870f7e..8b7df44 100644
--- a/ppapi/c/dev/ppb_text_input_dev.h
+++ b/ppapi/c/dev/ppb_text_input_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppb_text_input_dev.idl modified Tue Mar 13 21:18:47 2012. */
+/* From dev/ppb_text_input_dev.idl modified Thu Mar 28 10:54:47 2013. */
#ifndef PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_
#define PPAPI_C_DEV_PPB_TEXT_INPUT_DEV_H_
@@ -93,16 +93,16 @@ struct PPB_TextInput_Dev_0_2 {
* call, informs the browser about the current text selection and surrounding
* text. <code>text</code> is a UTF-8 string that contains the current range
* of text selection in the plugin. <code>caret</code> is the byte-index of
- * the caret poisition within <code>text</code>. <code>anchor</code> is the
+ * the caret position within <code>text</code>. <code>anchor</code> is the
* byte-index of the anchor position (i.e., if a range of text is selected,
- * it is the other edge of selection diffrent from <code>caret</code>. If
+ * it is the other edge of selection different from <code>caret</code>. If
* there are no selection, <code>anchor</code> is equal to <code>caret</code>.
*
* Typical use of this information in the browser is to enable "reconversion"
* features of IME that puts back the already committed text into the
* pre-commit composition state. Another use is to improve the precision
* of suggestion of IME by taking the context into account (e.g., if the caret
- * looks to be on the begining of a sentense, suggest capital letters in a
+ * looks to be on the beginning of a sentence, suggest capital letters in a
* virtual keyboard).
*
* When the focus is not on text, call this function setting <code>text</code>
diff --git a/ppapi/c/dev/ppb_zoom_dev.h b/ppapi/c/dev/ppb_zoom_dev.h
index f80ec12..7dc9525 100644
--- a/ppapi/c/dev/ppb_zoom_dev.h
+++ b/ppapi/c/dev/ppb_zoom_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppb_zoom_dev.idl modified Wed Oct 5 14:06:02 2011. */
+/* From dev/ppb_zoom_dev.idl modified Thu Mar 28 11:07:32 2013. */
#ifndef PPAPI_C_DEV_PPB_ZOOM_DEV_H_
#define PPAPI_C_DEV_PPB_ZOOM_DEV_H_
@@ -38,7 +38,7 @@ struct PPB_Zoom_Dev_0_2 {
*/
void (*ZoomChanged)(PP_Instance instance, double factor);
/**
- * Sets the mininum and maximium zoom factors.
+ * Sets the minimum and maximum zoom factors.
*/
void (*ZoomLimitsChanged)(PP_Instance instance,
double minimum_factor,
diff --git a/ppapi/c/dev/ppp_text_input_dev.h b/ppapi/c/dev/ppp_text_input_dev.h
index 3bfea58..bc25e57 100644
--- a/ppapi/c/dev/ppp_text_input_dev.h
+++ b/ppapi/c/dev/ppp_text_input_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppp_text_input_dev.idl modified Tue Mar 13 20:19:19 2012. */
+/* From dev/ppp_text_input_dev.idl modified Thu Mar 28 10:55:30 2013. */
#ifndef PPAPI_C_DEV_PPP_TEXT_INPUT_DEV_H_
#define PPAPI_C_DEV_PPP_TEXT_INPUT_DEV_H_
@@ -31,7 +31,7 @@
*/
struct PPP_TextInput_Dev_0_1 {
/**
- * Requests the plugin to send back the text arround the current caret or
+ * Requests the plugin to send back the text around the current caret or
* selection by <code>PPB_TextInput_Dev::UpdateSurroundingText</code>.
* It is recommended to include the <code>desired_number_of_characters</code>
* characters before and after the selection, but not mandatory.
diff --git a/ppapi/c/pp_array_output.h b/ppapi/c/pp_array_output.h
index e5902e0..add873c 100644
--- a/ppapi/c/pp_array_output.h
+++ b/ppapi/c/pp_array_output.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_array_output.idl modified Tue Mar 6 21:52:16 2012. */
+/* From pp_array_output.idl modified Thu Mar 28 11:07:53 2013. */
#ifndef PPAPI_C_PP_ARRAY_OUTPUT_H_
#define PPAPI_C_PP_ARRAY_OUTPUT_H_
@@ -65,7 +65,7 @@ typedef void* (*PP_ArrayOutput_GetDataBuffer)(void* user_data,
/**
* A structure that defines a way for the browser to return arrays of data
* to the plugin. The browser can not allocate memory on behalf of the plugin
- * becaues the plugin and browser may have different allocators.
+ * because the plugin and browser may have different allocators.
*
* Array output works by having the browser call to the plugin to allocate a
* buffer, and then the browser will copy the contents of the array into that
diff --git a/ppapi/c/pp_errors.h b/ppapi/c/pp_errors.h
index 180ebb3..9b44a71 100644
--- a/ppapi/c/pp_errors.h
+++ b/ppapi/c/pp_errors.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_errors.idl modified Thu Dec 20 14:28:44 2012. */
+/* From pp_errors.idl modified Thu Mar 28 10:12:22 2013. */
#ifndef PPAPI_C_PP_ERRORS_H_
#define PPAPI_C_PP_ERRORS_H_
@@ -90,7 +90,7 @@ enum {
* calls on background threads are not currently supported. Until this
* support is complete, you must either do asynchronous operations on the
* main thread, or provide an adaptor for a blocking background thread to
- * execute the operaitions on the main thread.
+ * execute the operations on the main thread.
*/
PP_ERROR_BLOCKS_MAIN_THREAD = -13,
PP_ERROR_FILENOTFOUND = -20,
diff --git a/ppapi/c/pp_file_info.h b/ppapi/c/pp_file_info.h
index 2f0261b..e53cae1 100644
--- a/ppapi/c/pp_file_info.h
+++ b/ppapi/c/pp_file_info.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_file_info.idl modified Mon Nov 14 10:36:01 2011. */
+/* From pp_file_info.idl modified Thu Mar 28 11:11:01 2013. */
#ifndef PPAPI_C_PP_FILE_INFO_H_
#define PPAPI_C_PP_FILE_INFO_H_
@@ -43,7 +43,7 @@ typedef enum {
PP_FILESYSTEMTYPE_INVALID = 0,
/** For external file system types */
PP_FILESYSTEMTYPE_EXTERNAL = 1,
- /** For local persistant file system types */
+ /** For local persistent file system types */
PP_FILESYSTEMTYPE_LOCALPERSISTENT = 2,
/** For local temporary file system types */
PP_FILESYSTEMTYPE_LOCALTEMPORARY = 3
diff --git a/ppapi/c/pp_input_event.h b/ppapi/c/pp_input_event.h
index cf7277e..ea65ae5 100644
--- a/ppapi/c/pp_input_event.h
+++ b/ppapi/c/pp_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_input_event.idl modified Mon Mar 5 10:13:42 2012. */
+/* From pp_input_event.idl modified Thu Mar 28 10:52:59 2013. */
#ifndef PPAPI_C_PP_INPUT_EVENT_H_
#define PPAPI_C_PP_INPUT_EVENT_H_
@@ -68,8 +68,8 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_InputEvent_Key, 8);
* accent up (it didn't generate a character), letter key down, letter with
* accent character event (it was modified by the previous accent key), letter
* key up. If the letter can't be combined with the accent, like an umlaut and
- * an 'R', the system might send unlaut down, umlaut up, 'R' key down, umlaut
- * character (can't combine it with 'R', so just send the raw unlaut so it
+ * an 'R', the system might send umlaut down, umlaut up, 'R' key down, umlaut
+ * character (can't combine it with 'R', so just send the raw umlaut so it
* isn't lost"), 'R' character event, 'R' key up.
*/
struct PP_InputEvent_Character {
diff --git a/ppapi/c/pp_resource.h b/ppapi/c/pp_resource.h
index 2ea82bc..d63e13d 100644
--- a/ppapi/c/pp_resource.h
+++ b/ppapi/c/pp_resource.h
@@ -1,9 +1,9 @@
-/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
-/* From pp_resource.idl modified Sat Jul 16 16:50:26 2011. */
+/* From pp_resource.idl modified Thu Mar 28 10:09:51 2013. */
#ifndef PPAPI_C_PP_RESOURCE_H_
#define PPAPI_C_PP_RESOURCE_H_
@@ -23,7 +23,7 @@
* @{
*/
/**
- * This typdef represents an opaque handle assigned by the browser to the
+ * This typedef represents an opaque handle assigned by the browser to the
* resource. The handle is guaranteed never to be 0 for a valid resource, so a
* module can initialize it to 0 to indicate a "NULL handle." Some interfaces
* may return a NULL resource to indicate failure.
diff --git a/ppapi/c/pp_touch_point.h b/ppapi/c/pp_touch_point.h
index bcdc37a..1a6f91f 100644
--- a/ppapi/c/pp_touch_point.h
+++ b/ppapi/c/pp_touch_point.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_touch_point.idl modified Mon Feb 11 15:42:54 2013. */
+/* From pp_touch_point.idl modified Thu Mar 28 10:13:07 2013. */
#ifndef PPAPI_C_PP_TOUCH_POINT_H_
#define PPAPI_C_PP_TOUCH_POINT_H_
@@ -25,7 +25,7 @@
*/
/**
* The <code>PP_TouchPoint</code> struct represents all information about a
- * single touch point, such ase position, id, rotation angle, and pressure.
+ * single touch point, such as position, id, rotation angle, and pressure.
*/
struct PP_TouchPoint {
/**
diff --git a/ppapi/c/ppb_audio_config.h b/ppapi/c/ppb_audio_config.h
index 8570708..a1e2e4b 100644
--- a/ppapi/c/ppb_audio_config.h
+++ b/ppapi/c/ppb_audio_config.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_audio_config.idl modified Mon Jul 9 12:02:26 2012. */
+/* From ppb_audio_config.idl modified Thu Mar 28 10:07:11 2013. */
#ifndef PPAPI_C_PPB_AUDIO_CONFIG_H_
#define PPAPI_C_PPB_AUDIO_CONFIG_H_
@@ -179,7 +179,7 @@ struct PPB_AudioConfig_1_1 {
* RecommendSampleRate() returns the native sample rate that the browser
* is using in the backend. Applications that use the recommended sample
* rate will have potentially better latency and fidelity. The return value
- * is indended for audio output devices. If the output sample rate cannot be
+ * is intended for audio output devices. If the output sample rate cannot be
* determined, this function can return PP_AUDIOSAMPLERATE_NONE.
*
* @param[in] instance
diff --git a/ppapi/c/ppb_graphics_2d.h b/ppapi/c/ppb_graphics_2d.h
index 6c41f3f..4c41e5a 100644
--- a/ppapi/c/ppb_graphics_2d.h
+++ b/ppapi/c/ppb_graphics_2d.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_graphics_2d.idl modified Mon Mar 19 11:35:04 2012. */
+/* From ppb_graphics_2d.idl modified Thu Mar 28 10:10:42 2013. */
#ifndef PPAPI_C_PPB_GRAPHICS_2D_H_
#define PPAPI_C_PPB_GRAPHICS_2D_H_
@@ -81,7 +81,7 @@ struct PPB_Graphics2D_1_0 {
* @param[in,out] is_always_opaque Identifies whether only opaque data
* will be painted.
*
- * @return Returns <code>PP_TRUE</code> on succes or <code>PP_FALSE</code> if
+ * @return Returns <code>PP_TRUE</code> on success or <code>PP_FALSE</code> if
* the resource is invalid. The output parameters will be set to 0 on a
* <code>PP_FALSE</code>.
*/
diff --git a/ppapi/c/ppb_graphics_3d.h b/ppapi/c/ppb_graphics_3d.h
index 8f482e6..8c409f1 100644
--- a/ppapi/c/ppb_graphics_3d.h
+++ b/ppapi/c/ppb_graphics_3d.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_graphics_3d.idl modified Tue Feb 07 11:38:46 2012. */
+/* From ppb_graphics_3d.idl modified Thu Mar 28 10:12:11 2013. */
#ifndef PPAPI_C_PPB_GRAPHICS_3D_H_
#define PPAPI_C_PPB_GRAPHICS_3D_H_
@@ -211,7 +211,7 @@ struct PPB_Graphics3D_1_0 {
* The recoverable error conditions that have no side effect are
* detected and returned immediately by all functions in this interface.
* In addition the implementation may get into a fatal state while
- * processing a command. In this case the application must detroy the
+ * processing a command. In this case the application must destroy the
* context and reinitialize client API state and objects to continue
* rendering.
*
@@ -219,7 +219,7 @@ struct PPB_Graphics3D_1_0 {
* It is recommended to handle error in the SwapBuffers callback because
* GetError is synchronous. This function may be useful in rare cases where
* drawing a frame is expensive and you want to verify the result of
- * ResizeBuffers before attemptimg to draw a frame.
+ * ResizeBuffers before attempting to draw a frame.
*
* @param[in] The 3D graphics context.
* @return Returns:
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
index bc6ebcb..6f612b5 100644
--- a/ppapi/c/ppb_input_event.h
+++ b/ppapi/c/ppb_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_input_event.idl modified Mon Nov 26 19:51:21 2012. */
+/* From ppb_input_event.idl modified Thu Mar 28 10:51:06 2013. */
#ifndef PPAPI_C_PPB_INPUT_EVENT_H_
#define PPAPI_C_PPB_INPUT_EVENT_H_
@@ -872,7 +872,7 @@ struct PPB_TouchInputEvent_1_0 {
PP_TouchListType list,
uint32_t index);
/**
- * Returns the touch-point with the spcified touch-id in the specified list.
+ * Returns the touch-point with the specified touch-id in the specified list.
*
* @param[in] resource A <code>PP_Resource</code> corresponding to a touch
* event.
diff --git a/ppapi/c/ppb_message_loop.h b/ppapi/c/ppb_message_loop.h
index 2ff9511..e9e432e 100644
--- a/ppapi/c/ppb_message_loop.h
+++ b/ppapi/c/ppb_message_loop.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_message_loop.idl modified Thu Jan 17 12:04:14 2013. */
+/* From ppb_message_loop.idl modified Thu Mar 28 11:08:46 2013. */
#ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_
#define PPAPI_C_PPB_MESSAGE_LOOP_H_
@@ -41,7 +41,7 @@
* suddenly see their PP_Resource handles become invalid. In this case, calls
* will fail with PP_ERROR_BADRESOURCE. If you need to access data associated
* with your instance, you will probably want to create some kind of threadsafe
- * proxy object that can handle asynchonous destruction of the instance object.
+ * proxy object that can handle asynchronous destruction of the instance object.
*
* Typical usage:
* On the main thread:
@@ -54,7 +54,7 @@
* - Call AttachToCurrentThread() with the message loop resource.
* - Call Run() with the message loop resource.
*
- * Your callacks should look like this:
+ * Your callbacks should look like this:
* void DoMyWork(void* user_data, int32_t status) {
* if (status != PP_OK) {
* Cleanup(); // e.g. free user_data.
@@ -219,7 +219,7 @@ struct PPB_MessageLoop_1_0 {
*
* @param callback The completion callback to execute from the message loop.
*
- * @param delay_ms The number of millseconds to delay execution of the given
+ * @param delay_ms The number of milliseconds to delay execution of the given
* completion callback. Passing 0 means it will get queued normally and
* executed in order.
*
@@ -234,7 +234,7 @@ struct PPB_MessageLoop_1_0 {
* run your callback with an error without causing unexpected threading
* problems). If you associate memory with the completion callback (for
* example, you're using the C++ CompletionCallbackFactory), you will need to
- * free this or manually run the callback. See "Desctruction and error
+ * free this or manually run the callback. See "Destruction and error
* handling" above.
*
*
diff --git a/ppapi/c/ppb_mouse_cursor.h b/ppapi/c/ppb_mouse_cursor.h
index 1be5889..bc6a5f5 100644
--- a/ppapi/c/ppb_mouse_cursor.h
+++ b/ppapi/c/ppb_mouse_cursor.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_mouse_cursor.idl modified Mon Mar 26 22:05:07 2012. */
+/* From ppb_mouse_cursor.idl modified Thu Mar 28 10:11:32 2013. */
#ifndef PPAPI_C_PPB_MOUSE_CURSOR_H_
#define PPAPI_C_PPB_MOUSE_CURSOR_H_
@@ -104,7 +104,7 @@ struct PPB_MouseCursor_1_0 {
* cursor, set the type to <code>PP_MOUSECURSOR_TYPE_CUSTOM</code> and
* specify your image and hot spot.
*
- * @param[in] instance A <code>PP_Instance</code> indentifying the instance
+ * @param[in] instance A <code>PP_Instance</code> identifying the instance
* that the mouse cursor will affect.
*
* @param[in] type A <code>PP_MouseCursor_Type</code> identifying the type of
@@ -116,7 +116,7 @@ struct PPB_MouseCursor_1_0 {
* pixels in each direction and must be of the system's native image format.
* When you are specifying a predefined cursor, this parameter must be 0.
*
- * @param[in] hot_spot When setting a custom cursor, this idenfifies the
+ * @param[in] hot_spot When setting a custom cursor, this identifies the
* pixel position within the given image of the "hot spot" of the cursor.
* When specifying a stock cursor, this parameter is ignored.
*
diff --git a/ppapi/c/ppb_url_loader.h b/ppapi/c/ppb_url_loader.h
index c19cc9d4..b1df360 100644
--- a/ppapi/c/ppb_url_loader.h
+++ b/ppapi/c/ppb_url_loader.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_url_loader.idl modified Wed Oct 5 14:06:02 2011. */
+/* From ppb_url_loader.idl modified Thu Mar 28 10:07:37 2013. */
#ifndef PPAPI_C_PPB_URL_LOADER_H_
#define PPAPI_C_PPB_URL_LOADER_H_
@@ -84,7 +84,7 @@ struct PPB_URLLoader_1_0 {
* <code>URLRequestInfo</code>.
* @param[in] callback A <code>PP_CompletionCallback</code> to run on
* asynchronous completion of Open(). This callback will run when response
- * headers for the url are received or error occured. This callback
+ * headers for the url are received or error occurred. This callback
* will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>.
*
* @return An int32_t containing an error code from <code>pp_errors.h</code>.
diff --git a/ppapi/c/ppb_url_request_info.h b/ppapi/c/ppb_url_request_info.h
index 4eaf0db..5719eab 100644
--- a/ppapi/c/ppb_url_request_info.h
+++ b/ppapi/c/ppb_url_request_info.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_url_request_info.idl modified Tue Jul 10 09:05:59 2012. */
+/* From ppb_url_request_info.idl modified Thu Mar 28 10:19:35 2013. */
#ifndef PPAPI_C_PPB_URL_REQUEST_INFO_H_
#define PPAPI_C_PPB_URL_REQUEST_INFO_H_
@@ -48,7 +48,7 @@ typedef enum {
* This corresponds to a string (<code>PP_VARTYPE_STRING</code>); \n
* delimited. Refer to the
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header
- * Field Definitions</a> documentaiton for further information.
+ * Field Definitions</a> documentation for further information.
*/
PP_URLREQUESTPROPERTY_HEADERS = 2,
/**
@@ -78,7 +78,7 @@ typedef enum {
* This corresponds to a <code>PP_Bool</code>
* (default=<code>PP_FALSE</code>). Set this value to <code>PP_TRUE</code> if
* you want to be able to poll the upload progress using
- * PPB_URLLoader.GetUplaodProgress().
+ * PPB_URLLoader.GetUploadProgress().
*/
PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS = 6,
/**
diff --git a/ppapi/c/private/ppb_flash.h b/ppapi/c/private/ppb_flash.h
index 3a586dd..f08029e 100644
--- a/ppapi/c/private/ppb_flash.h
+++ b/ppapi/c/private/ppb_flash.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_flash.idl modified Thu Jan 31 16:23:42 2013. */
+/* From private/ppb_flash.idl modified Thu Mar 28 10:30:53 2013. */
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_
#define PPAPI_C_PRIVATE_PPB_FLASH_H_
@@ -72,7 +72,7 @@ typedef enum {
*/
PP_FLASHSETTING_3DENABLED = 1,
/**
- * Specifies if the given instance is in private/inconito/off-the-record mode
+ * Specifies if the given instance is in private/incognito/off-the-record mode
* (returns true) or "regular" mode (returns false). Returns an undefined
* PP_Var on invalid instance.
*/
@@ -182,7 +182,7 @@ struct PPB_Flash_13_0 {
*/
struct PP_Var (*GetCommandLineArgs)(PP_Module module);
/**
- * Loads the given font in a more priviledged process on Windows. Call this if
+ * Loads the given font in a more privileged process on Windows. Call this if
* Windows is giving errors for font calls. See
* content/renderer/font_cache_dispatcher_win.cc
*
diff --git a/ppapi/c/private/ppb_flash_clipboard.h b/ppapi/c/private/ppb_flash_clipboard.h
index 5da06cc6..d59957a 100644
--- a/ppapi/c/private/ppb_flash_clipboard.h
+++ b/ppapi/c/private/ppb_flash_clipboard.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_flash_clipboard.idl modified Mon Oct 29 12:51:16 2012. */
+/* From private/ppb_flash_clipboard.idl modified Thu Mar 28 10:23:59 2013. */
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_
#define PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_
@@ -42,7 +42,7 @@ typedef enum {
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4);
/**
- * This enumeration contains the predfined clipboard data formats.
+ * This enumeration contains the predefined clipboard data formats.
*/
typedef enum {
/** Indicates an invalid or unsupported clipboard data format. */
diff --git a/ppapi/c/private/ppb_network_monitor_private.h b/ppapi/c/private/ppb_network_monitor_private.h
index 9893150..93c1ff0 100644
--- a/ppapi/c/private/ppb_network_monitor_private.h
+++ b/ppapi/c/private/ppb_network_monitor_private.h
@@ -4,7 +4,7 @@
*/
/* From private/ppb_network_monitor_private.idl,
- * modified Fri Feb 24 10:51:22 2012.
+ * modified Thu Mar 28 10:30:11 2013.
*/
#ifndef PPAPI_C_PRIVATE_PPB_NETWORK_MONITOR_PRIVATE_H_
@@ -57,7 +57,7 @@ struct PPB_NetworkMonitor_Private_0_2 {
* Starts network change monitoring. The specified
* <code>callback</code> will be called on the main thread once
* after this method is called (to supply the initial network
- * configuarion) and then later every time network configuration
+ * configuration) and then later every time network configuration
* changes. Notifications are stopped when the returned resource is
* destroyed. If the plugin doesn't have access to the network list
* then the callback will be called once with the
diff --git a/ppapi/c/private/ppb_tcp_server_socket_private.h b/ppapi/c/private/ppb_tcp_server_socket_private.h
index 8355b15..f019519 100644
--- a/ppapi/c/private/ppb_tcp_server_socket_private.h
+++ b/ppapi/c/private/ppb_tcp_server_socket_private.h
@@ -4,7 +4,7 @@
*/
/* From private/ppb_tcp_server_socket_private.idl,
- * modified Tue Feb 14 12:24:48 2012.
+ * modified Thu Mar 28 10:31:11 2013.
*/
#ifndef PPAPI_C_PRIVATE_PPB_TCP_SERVER_SOCKET_PRIVATE_H_
@@ -65,7 +65,7 @@ struct PPB_TCPServerSocket_Private_0_1 {
* PPB_TCPSocket_Private and stores reference to it in
* |tcp_socket|. |callback| is invoked when connection is accepted
* or in the case of failure. This method can be called only after
- * succesfull Listen call on |tcp_server_socket|.
+ * successful Listen call on |tcp_server_socket|.
*/
int32_t (*Accept)(PP_Resource tcp_server_socket,
PP_Resource* tcp_socket,
diff --git a/ppapi/c/private/ppp_flash_browser_operations.h b/ppapi/c/private/ppp_flash_browser_operations.h
index 12d1c86..301b74c 100644
--- a/ppapi/c/private/ppp_flash_browser_operations.h
+++ b/ppapi/c/private/ppp_flash_browser_operations.h
@@ -4,7 +4,7 @@
*/
/* From private/ppp_flash_browser_operations.idl,
- * modified Wed Jul 25 16:53:17 2012.
+ * modified Thu Mar 28 10:23:11 2013.
*/
#ifndef PPAPI_C_PRIVATE_PPP_FLASH_BROWSER_OPERATIONS_H_
@@ -181,7 +181,7 @@ struct PPP_Flash_BrowserOperations_1_3 {
* @param[in] plugin_data_path String containing the directory where the
* plugin data is stored.
* @param[out] sites A NULL-terminated array of sites that have stored data.
- * Use FreeSiteList on the the array when done.
+ * Use FreeSiteList on the array when done.
*
* See also the NPP_GetSitesWithData function in NPAPI:
* https://wiki.mozilla.org/NPAPI:ClearSiteData
diff --git a/ppapi/c/private/ppp_instance_private.h b/ppapi/c/private/ppp_instance_private.h
index aa439a0..15d80c5 100644
--- a/ppapi/c/private/ppp_instance_private.h
+++ b/ppapi/c/private/ppp_instance_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppp_instance_private.idl modified Tue Oct 2 13:42:46 2012. */
+/* From private/ppp_instance_private.idl modified Thu Mar 28 10:22:54 2013. */
#ifndef PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPP_INSTANCE_PRIVATE_H_
@@ -45,7 +45,7 @@ struct PPP_Instance_Private_0_1 {
* The returned PP_Var should have a reference added for the caller, which
* will be responsible for Release()ing that reference.
*
- * @param[in] instance A PP_Instance indentifying the instance from which the
+ * @param[in] instance A PP_Instance identifying the instance from which the
* instance object is being requested.
* @return A PP_Var containing scriptable object.
*/
diff --git a/ppapi/c/trusted/ppb_browser_font_trusted.h b/ppapi/c/trusted/ppb_browser_font_trusted.h
index c16a153..bb626a7 100644
--- a/ppapi/c/trusted/ppb_browser_font_trusted.h
+++ b/ppapi/c/trusted/ppb_browser_font_trusted.h
@@ -4,7 +4,7 @@
*/
/* From trusted/ppb_browser_font_trusted.idl,
- * modified Wed Jun 27 14:43:20 2012.
+ * modified Thu Mar 28 10:14:27 2013.
*/
#ifndef PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
@@ -221,7 +221,7 @@ struct PPB_BrowserFont_Trusted_1_0 {
* clipped to the image.
*
* The image_data_is_opaque flag indicates whether subpixel antialiasing can
- * be performend, if it is supported. When the image below the text is
+ * be performed, if it is supported. When the image below the text is
* opaque, subpixel antialiasing is supported and you should set this to
* PP_TRUE to pick up the user's default preferences. If your plugin is
* partially transparent, then subpixel antialiasing is not possible and
diff --git a/ppapi/cpp/audio_config.h b/ppapi/cpp/audio_config.h
index 8ece912..e7ade54 100644
--- a/ppapi/cpp/audio_config.h
+++ b/ppapi/cpp/audio_config.h
@@ -100,7 +100,7 @@ class AudioConfig : public Resource {
/// @param[in] sample_rate A <code>PP_AudioSampleRate</code> which is either
/// <code>PP_AUDIOSAMPLERATE_44100</code> or
/// <code>PP_AUDIOSAMPLERATE_48000</code>.
- /// @param[in] requested_sample_frame_count A uint_32t requested frame count.
+ /// @param[in] requested_sample_frame_count A uint32_t requested frame count.
///
/// @return A uint32_t containing the recommended sample frame count if
/// successful. If the sample frame count or bit rate is not supported,
diff --git a/ppapi/cpp/dev/file_chooser_dev.h b/ppapi/cpp/dev/file_chooser_dev.h
index 4feee6a..10b0ba0 100644
--- a/ppapi/cpp/dev/file_chooser_dev.h
+++ b/ppapi/cpp/dev/file_chooser_dev.h
@@ -86,7 +86,7 @@ class FileChooser_Dev : public Resource {
PP_CompletionCallback original_callback;
};
- // Provide backwards-compatability for older versions. Converts the old-style
+ // Provide backwards-compatibility for older versions. Converts the old-style
// 0.5 "iterator" interface to the new-style 0.6 "array output" interface that
// the caller is expecting.
//
diff --git a/ppapi/cpp/dev/scriptable_object_deprecated.cc b/ppapi/cpp/dev/scriptable_object_deprecated.cc
index 449e760..1b701cb 100644
--- a/ppapi/cpp/dev/scriptable_object_deprecated.cc
+++ b/ppapi/cpp/dev/scriptable_object_deprecated.cc
@@ -178,7 +178,7 @@ Var ScriptableObject::Call(const Var& /*method_name*/,
Var ScriptableObject::Construct(const std::vector<Var>& /*args*/,
Var* exception) {
- *exception = Var("Constuct method does not exist in ScriptableObject");
+ *exception = Var("Construct method does not exist in ScriptableObject");
return Var();
}
diff --git a/ppapi/cpp/dev/scriptable_object_deprecated.h b/ppapi/cpp/dev/scriptable_object_deprecated.h
index 3099977..7423d23 100644
--- a/ppapi/cpp/dev/scriptable_object_deprecated.h
+++ b/ppapi/cpp/dev/scriptable_object_deprecated.h
@@ -80,7 +80,7 @@ class ScriptableObject {
friend class ::pp::VarPrivate;
static const PPP_Class_Deprecated* GetClass();
- // Unimplemented, copy and assigmnent is not allowed.
+ // Unimplemented, copy and assignment is not allowed.
ScriptableObject(const ScriptableObject& other);
ScriptableObject& operator=(const ScriptableObject& other);
};
diff --git a/ppapi/cpp/dev/var_array_dev.h b/ppapi/cpp/dev/var_array_dev.h
index e790f97..17a3277 100644
--- a/ppapi/cpp/dev/var_array_dev.h
+++ b/ppapi/cpp/dev/var_array_dev.h
@@ -19,14 +19,14 @@ class VarArray_Dev : public Var {
/// Constructs a new array var.
VarArray_Dev();
- /// Contructs a <code>VarArray_Dev</code> given a var for which is_array() is
+ /// Constructs a <code>VarArray_Dev</code> given a var for which is_array() is
/// true. This will refer to the same array var, but allow you to access
/// methods specific to arrays.
///
/// @param[in] var An array var.
explicit VarArray_Dev(const Var& var);
- /// Contructs a <code>VarArray_Dev</code> given a <code>PP_Var</code> of type
+ /// Constructs a <code>VarArray_Dev</code> given a <code>PP_Var</code> of type
/// PP_VARTYPE_ARRAY.
///
/// @param[in] var A <code>PP_Var</code> of type PP_VARTYPE_ARRAY.
diff --git a/ppapi/cpp/dev/var_dictionary_dev.h b/ppapi/cpp/dev/var_dictionary_dev.h
index 5934b81..2b2e79d 100644
--- a/ppapi/cpp/dev/var_dictionary_dev.h
+++ b/ppapi/cpp/dev/var_dictionary_dev.h
@@ -19,14 +19,14 @@ class VarDictionary_Dev : public Var {
/// Constructs a new dictionary var.
VarDictionary_Dev();
- /// Contructs a <code>VarDictionary_Dev</code> given a var for which
+ /// Constructs a <code>VarDictionary_Dev</code> given a var for which
/// is_dictionary() is true. This will refer to the same dictionary var, but
/// allow you to access methods specific to dictionary.
///
/// @param[in] var A dictionary var.
explicit VarDictionary_Dev(const Var& var);
- /// Contructs a <code>VarDictionary_Dev</code> given a <code>PP_Var</code>
+ /// Constructs a <code>VarDictionary_Dev</code> given a <code>PP_Var</code>
/// of type PP_VARTYPE_DICTIONARY.
///
/// @param[in] var A <code>PP_Var</code> of type PP_VARTYPE_DICTIONARY.
diff --git a/ppapi/cpp/extensions/ext_output_traits.h b/ppapi/cpp/extensions/ext_output_traits.h
index d03258d..1bfec8e 100644
--- a/ppapi/cpp/extensions/ext_output_traits.h
+++ b/ppapi/cpp/extensions/ext_output_traits.h
@@ -76,7 +76,7 @@ struct ExtensionsCallbackOutputTraits {
};
// This class provides storage for a PP_Var and a vector of objects which are
-// of type T. The PP_Var is used as an output parameter to recevie an array var
+// of type T. The PP_Var is used as an output parameter to receive an array var
// from the browser. Each element in the array var is converted to a T object,
// using FromVarConverter, and stores in the vector.
template <class T>
diff --git a/ppapi/cpp/file_io.h b/ppapi/cpp/file_io.h
index bf2c857..9bbb5f7 100644
--- a/ppapi/cpp/file_io.h
+++ b/ppapi/cpp/file_io.h
@@ -117,7 +117,7 @@ class FileIO : public Resource {
/// where a copy of your FileIO resource could outlive your class, the
/// callback will still be pending when your class goes out of scope, creating
/// the possibility of writing into invalid memory. So it's recommended to
- /// keep your FileIO resource and any oubput buffers tightly controlled in
+ /// keep your FileIO resource and any output buffers tightly controlled in
/// the same scope.
///
/// <strong>Caveat:</strong> This Read() is potentially unsafe if you're using
@@ -229,7 +229,7 @@ class FileIO : public Resource {
PP_CompletionCallback original_callback;
};
- // Provide backwards-compatability for older Read versions. Converts the
+ // Provide backwards-compatibility for older Read versions. Converts the
// old-style "char*" output buffer of 1.0 to the new "PP_ArrayOutput"
// interface in 1.1.
//
diff --git a/ppapi/cpp/graphics_2d.h b/ppapi/cpp/graphics_2d.h
index 0ce6641..427ea48 100644
--- a/ppapi/cpp/graphics_2d.h
+++ b/ppapi/cpp/graphics_2d.h
@@ -58,7 +58,7 @@ class Graphics2D : public Resource {
/// A destructor that decrements the reference count of a
/// <code>Graphics2D</code> object made using the previous copy constructor.
- /// It is possible that the destructor does not toally destroy the underlying
+ /// It is possible that the destructor does not totally destroy the underlying
/// 2D context if there are outstanding references to it.
virtual ~Graphics2D();
diff --git a/ppapi/cpp/graphics_3d.h b/ppapi/cpp/graphics_3d.h
index 56383da..bb8706a 100644
--- a/ppapi/cpp/graphics_3d.h
+++ b/ppapi/cpp/graphics_3d.h
@@ -21,7 +21,7 @@ class Graphics3D : public Resource {
/// Default constructor for creating an is_null() Graphics3D object.
Graphics3D();
- /// A constructor for creating and and initializing a 3D rendering context.
+ /// A constructor for creating and initializing a 3D rendering context.
/// The returned context is created off-screen and must be attached
/// to a module instance using <code>Instance::BindGraphics</code> to draw on
/// the web page.
diff --git a/ppapi/cpp/input_event.h b/ppapi/cpp/input_event.h
index 379e0e8..42848e2 100644
--- a/ppapi/cpp/input_event.h
+++ b/ppapi/cpp/input_event.h
@@ -103,13 +103,13 @@ class MouseInputEvent : public InputEvent {
/// This constructor manually constructs a mouse event from the provided
/// parameters.
///
- /// @param[in] instance The instance for which this event occured.
+ /// @param[in] instance The instance for which this event occurred.
///
/// @param[in] type A <code>PP_InputEvent_Type</code> identifying the type of
/// input event.
///
/// @param[in] time_stamp A <code>PP_TimeTicks</code> indicating the time
- /// when the event occured.
+ /// when the event occurred.
///
/// @param[in] modifiers A bit field combination of the
/// <code>PP_InputEvent_Modifier</code> flags.
@@ -119,7 +119,7 @@ class MouseInputEvent : public InputEvent {
/// mouse move, enter, and leave events.
///
/// @param[in] mouse_position A <code>Point</code> containing the x and y
- /// position of the mouse when the eent occurred.
+ /// position of the mouse when the event occurred.
///
/// @param[in] click_count
// TODO(brettw) figure out exactly what this means.
@@ -178,10 +178,10 @@ class WheelInputEvent : public InputEvent {
/// Constructs a wheel input even from the given parameters.
///
- /// @param[in] instance The instance for which this event occured.
+ /// @param[in] instance The instance for which this event occurred.
///
/// @param[in] time_stamp A <code>PP_TimeTicks</code> indicating the time
- /// when the event occured.
+ /// when the event occurred.
///
/// @param[in] modifiers A bit field combination of the
/// <code>PP_InputEvent_Modifier</code> flags.
@@ -216,7 +216,7 @@ class WheelInputEvent : public InputEvent {
/// possible, for example, on some trackpads and newer mice that don't have
/// "clicks".
///
- /// @return The vertial and horizontal scroll values. The units are either in
+ /// @return The vertical and horizontal scroll values. The units are either in
/// pixels (when scroll_by_page is false) or pages (when scroll_by_page is
/// true). For example, y = -3 means scroll up 3 pixels when scroll_by_page
/// is false, and scroll up 3 pages when scroll_by_page is true.
@@ -263,13 +263,13 @@ class KeyboardInputEvent : public InputEvent {
/// Constructs a keyboard input even from the given parameters.
///
- /// @param[in] instance The instance for which this event occured.
+ /// @param[in] instance The instance for which this event occurred.
///
/// @param[in] type A <code>PP_InputEvent_Type</code> identifying the type of
/// input event.
///
/// @param[in] time_stamp A <code>PP_TimeTicks</code> indicating the time
- /// when the event occured.
+ /// when the event occurred.
///
/// @param[in] modifiers A bit field combination of the
/// <code>PP_InputEvent_Modifier</code> flags.
@@ -311,13 +311,13 @@ class TouchInputEvent : public InputEvent {
/// Constructs a touch input even from the given parameters.
///
- /// @param[in] instance The instance for which this event occured.
+ /// @param[in] instance The instance for which this event occurred.
///
/// @param[in] type A <code>PP_InputEvent_Type</code> identifying the type of
/// input event.
///
/// @param[in] time_stamp A <code>PP_TimeTicks</code> indicating the time
- /// when the event occured.
+ /// when the event occurred.
///
/// @param[in] modifiers A bit field combination of the
/// <code>PP_InputEvent_Modifier</code> flags.
diff --git a/ppapi/cpp/instance.h b/ppapi/cpp/instance.h
index 00eaadc..c8f8cab 100644
--- a/ppapi/cpp/instance.h
+++ b/ppapi/cpp/instance.h
@@ -139,7 +139,7 @@ class Instance {
/// the clip when the instance is partially visible. Instead, update the
/// entire region. The time saved doing partial paints is usually not
/// significant and it can create artifacts when scrolling (this notification
- /// is sent asynchronously from scolling so there can be flashes of old
+ /// is sent asynchronously from scrolling so there can be flashes of old
/// content in the exposed regions).
virtual void DidChangeView(const Rect& position, const Rect& clip);
@@ -333,7 +333,7 @@ class Instance {
/// do optimizations for scroll or touch events that can be processed
/// substantially faster if it knows there are no non-default receivers for
/// that message. Requesting that such messages be delivered, even if they are
- /// processed very quickly, may have a noticable effect on the performance of
+ /// processed very quickly, may have a noticeable effect on the performance of
/// the page.
///
/// When requesting input events through this function, the events will be
diff --git a/ppapi/cpp/message_loop.h b/ppapi/cpp/message_loop.h
index fa38c669..9e28b2d 100644
--- a/ppapi/cpp/message_loop.h
+++ b/ppapi/cpp/message_loop.h
@@ -24,7 +24,8 @@ class InstanceHandle;
/// suddenly see their PP_Resource handles become invalid. In this case, calls
/// will fail with PP_ERROR_BADRESOURCE. If you need to access data associated
/// with your instance, you will probably want to create some kind of threadsafe
-/// proxy object that can handle asynchonous destruction of the instance object.
+/// proxy object that can handle asynchronous destruction of the instance
+/// object.
///
/// Typical usage:
/// On the main thread:
@@ -37,7 +38,7 @@ class InstanceHandle;
/// - Call AttachToCurrentThread() with the message loop resource.
/// - Call Run() with the message loop resource.
///
-/// Your callacks should look like this:
+/// Your callbacks should look like this:
/// void DoMyWork(void* user_data, int32_t status) {
/// if (status != PP_OK) {
/// Cleanup(); // e.g. free user_data.
@@ -199,7 +200,7 @@ class MessageLoop : public Resource {
/// @param callback A pointer to the completion callback to execute from the
/// message loop.
///
- /// @param delay_ms The number of millseconds to delay execution of the given
+ /// @param delay_ms The number of milliseconds to delay execution of the given
/// completion callback. Passing 0 means it will get queued normally and
/// executed in order.
///
diff --git a/ppapi/cpp/module.h b/ppapi/cpp/module.h
index 07cfea9..40de3b8 100644
--- a/ppapi/cpp/module.h
+++ b/ppapi/cpp/module.h
@@ -82,7 +82,7 @@ class Module {
/// GetBrowserInterface() returns interfaces which the browser implements
/// (i.e. PPB interfaces).
- /// @param[in] interface_name The browser interface for the moduel to get.
+ /// @param[in] interface_name The browser interface for the module to get.
const void* GetBrowserInterface(const char* interface_name);
/// InstanceForPPInstance() returns the object associated with this
diff --git a/ppapi/cpp/mouse_cursor.h b/ppapi/cpp/mouse_cursor.h
index ec1374c..827d95c 100644
--- a/ppapi/cpp/mouse_cursor.h
+++ b/ppapi/cpp/mouse_cursor.h
@@ -26,7 +26,7 @@ class MouseCursor {
/// <code>PP_MOUSECURSOR_TYPE_CUSTOM</code> and specify your image and hot
/// spot.
///
- /// @param[in] instance A handle indentifying the instance that the mouse
+ /// @param[in] instance A handle identifying the instance that the mouse
/// cursor will affect.
///
/// @param[in] type A <code>PP_MouseCursor_Type</code> identifying the type
@@ -39,7 +39,7 @@ class MouseCursor {
/// When you are specifying a predefined cursor, this parameter should be a
/// default-constructed ImageData.
///
- /// @param[in] hot_spot When setting a custom cursor, this idenfifies the
+ /// @param[in] hot_spot When setting a custom cursor, this identifies the
/// pixel position within the given image of the "hot spot" of the cursor.
/// When specifying a stock cursor, this parameter is ignored.
///
diff --git a/ppapi/cpp/point.h b/ppapi/cpp/point.h
index 9daa6b53d..c881bbd 100644
--- a/ppapi/cpp/point.h
+++ b/ppapi/cpp/point.h
@@ -101,7 +101,7 @@ class Point {
}
/// Subtracts one Point from another Point by subtracting their x values
- /// and y values. Returnes a new point with the result.
+ /// and y values. Returns a new point with the result.
///
/// @param[in] other A Point.
///
@@ -240,7 +240,7 @@ class FloatPoint {
}
/// Subtracts one Point from another Point by subtracting their x values
- /// and y values. Returnes a new point with the result.
+ /// and y values. Returns a new point with the result.
///
/// @param[in] other A FloatPoint.
///
diff --git a/ppapi/cpp/private/network_list_private.cc b/ppapi/cpp/private/network_list_private.cc
index 35bb66a..1297aa3 100644
--- a/ppapi/cpp/private/network_list_private.cc
+++ b/ppapi/cpp/private/network_list_private.cc
@@ -64,7 +64,7 @@ void NetworkListPrivate::GetIpAddresses(
if (!has_interface<PPB_NetworkList_Private>())
return;
- // Most netword interfaces don't have more than 3 network
+ // Most network interfaces don't have more than 3 network
// interfaces.
addresses->resize(3);
diff --git a/ppapi/cpp/private/var_private.h b/ppapi/cpp/private/var_private.h
index 1c4cc8a..7cc0e31 100644
--- a/ppapi/cpp/private/var_private.h
+++ b/ppapi/cpp/private/var_private.h
@@ -16,7 +16,7 @@ class ScriptableObject;
}
// VarPrivate is a version of Var that exposes the private scripting API.
-// It's designed to be mostly interchangable with Var since most callers will
+// It's designed to be mostly interchangeable with Var since most callers will
// be dealing with Vars from various places.
class VarPrivate : public Var {
public:
diff --git a/ppapi/cpp/rect.cc b/ppapi/cpp/rect.cc
index 39d8018..1e9ff05 100644
--- a/ppapi/cpp/rect.cc
+++ b/ppapi/cpp/rect.cc
@@ -89,14 +89,14 @@ Rect Rect::Subtract(const Rect& rect) const {
int32_t rb = bottom();
if (rect.y() <= y() && rect.bottom() >= bottom()) {
- // complete int32_tersection in the y-direction
+ // complete intersection in the y-direction
if (rect.x() <= x()) {
rx = rect.right();
} else {
rr = rect.x();
}
} else if (rect.x() <= x() && rect.right() >= right()) {
- // complete int32_tersection in the x-direction
+ // complete intersection in the x-direction
if (rect.y() <= y()) {
ry = rect.bottom();
} else {
diff --git a/ppapi/cpp/rect.h b/ppapi/cpp/rect.h
index aa659d1..b47226b 100644
--- a/ppapi/cpp/rect.h
+++ b/ppapi/cpp/rect.h
@@ -282,7 +282,7 @@ class Rect {
/// Offset() moves the rectangle by a horizontal and vertical distance.
///
- /// @param[in] horizontal An int32_t value representing a horzontal
+ /// @param[in] horizontal An int32_t value representing a horizontal
/// move distance.
/// @param[in] vertical An int32_t value representing a vertical
/// move distance.
@@ -331,7 +331,7 @@ class Rect {
/// @return true if the rectangle fall inside this rectangle.
bool Contains(const Rect& rect) const;
- /// Insersects() determines if this rectangle intersects the specified
+ /// Intersects() determines if this rectangle intersects the specified
/// rectangle.
///
/// @param[in] rect A pointer to a <code>Rect</code>.
diff --git a/ppapi/cpp/url_loader.h b/ppapi/cpp/url_loader.h
index 3ed5fe6..00c086e 100644
--- a/ppapi/cpp/url_loader.h
+++ b/ppapi/cpp/url_loader.h
@@ -54,7 +54,7 @@ class URLLoader : public Resource {
/// URLRequestInfo.
/// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
/// completion of Open(). This callback will run when response
- /// headers for the url are received or error occured. This callback
+ /// headers for the url are received or error occurred. This callback
/// will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>.
///
/// @return An int32_t containing an error code from
@@ -67,7 +67,7 @@ class URLLoader : public Resource {
///
/// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
/// completion of FollowRedirect(). This callback will run when response
- /// headers for the redirect url are received or error occured. This callback
+ /// headers for the redirect url are received or error occurred. This callback
/// will only run if FollowRedirect() returns
/// <code>PP_OK_COMPLETIONPENDING</code>.
///
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h
index 15c1713..c476be4 100644
--- a/ppapi/cpp/url_request_info.h
+++ b/ppapi/cpp/url_request_info.h
@@ -130,7 +130,7 @@ class URLRequestInfo : public Resource {
/// <code>PP_VARTYPE_STRING</code>) property for the request.
/// Refer to the
/// <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header
- /// Field Definitions</a> documentaiton for further information.
+ /// Field Definitions</a> documentation for further information.
///
/// @param[in] headers_string A <code>Var</code> containing the property
/// value.
diff --git a/ppapi/cpp/url_response_info.h b/ppapi/cpp/url_response_info.h
index 682fbf7..f9e60cf 100644
--- a/ppapi/cpp/url_response_info.h
+++ b/ppapi/cpp/url_response_info.h
@@ -15,7 +15,7 @@ namespace pp {
class FileRef;
-/// URLResponseInfo provides an API for examaning URL responses.
+/// URLResponseInfo provides an API for examining URL responses.
class URLResponseInfo : public Resource {
public:
/// Default constructor. This constructor creates an <code>is_null</code>
diff --git a/ppapi/cpp/var.h b/ppapi/cpp/var.h
index 77bb5d8..fe30e10 100644
--- a/ppapi/cpp/var.h
+++ b/ppapi/cpp/var.h
@@ -132,7 +132,7 @@ class Var {
/// This function determines if this <code>Var</code> is a dictionary.
///
- /// @return true if this <code>Var</code> is a dictinoary, otherwise false.
+ /// @return true if this <code>Var</code> is a dictionary, otherwise false.
bool is_dictionary() const { return var_.type == PP_VARTYPE_DICTIONARY; }
/// This function determines if this <code>Var</code> is an integer value.
@@ -237,7 +237,7 @@ class Var {
std::string DebugString() const;
/// This class is used when calling the raw C PPAPI when using the C++
- /// <code>Var</code> as a possibe NULL exception. This class will handle
+ /// <code>Var</code> as a possible NULL exception. This class will handle
/// getting the address of the internal value out if it's non-NULL and
/// fixing up the reference count.
///
diff --git a/ppapi/cpp/var_array_buffer.h b/ppapi/cpp/var_array_buffer.h
index 74f97aa..fd2b05b0 100644
--- a/ppapi/cpp/var_array_buffer.h
+++ b/ppapi/cpp/var_array_buffer.h
@@ -19,7 +19,7 @@ namespace pp {
/// <code>HandleMessage</code> functions of <code>Instance</code>.
class VarArrayBuffer : public Var {
public:
- /// Contruct a <code>VarArrayBuffer</code> given a var for which
+ /// Construct a <code>VarArrayBuffer</code> given a var for which
/// is_array_buffer() is true. This will refer to the same
/// <code>ArrayBuffer</code> as var, but allows you to access methods
/// specific to <code>VarArrayBuffer</code>.