mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Fix spelling mistakes in comments.
This commit is contained in:
parent
9f8dda7abc
commit
c254d195ad
24 changed files with 42 additions and 42 deletions
|
@ -864,7 +864,7 @@ pub struct _cef_browser_host_t {
|
|||
|
||||
//
|
||||
// Search for |searchText|. |identifier| can be used to have multiple searches
|
||||
// running simultaniously. |forward| indicates whether to search forward or
|
||||
// running simultaneously. |forward| indicates whether to search forward or
|
||||
// backward within the page. |matchCase| indicates whether the search should
|
||||
// be case-sensitive. |findNext| indicates whether this is the first request
|
||||
// or a follow-up.
|
||||
|
@ -1089,7 +1089,7 @@ pub struct _cef_browser_host_t {
|
|||
// being cancelled. |x| and |y| are mouse coordinates relative to the upper-
|
||||
// left corner of the view. If the web view is both the drag source and the
|
||||
// drag target then all DragTarget* functions should be called before
|
||||
// DragSource* mthods. This function is only used when window rendering is
|
||||
// DragSource* methods. This function is only used when window rendering is
|
||||
// disabled.
|
||||
//
|
||||
pub drag_source_ended_at: Option<extern "C" fn(this: *mut cef_browser_host_t,
|
||||
|
@ -1101,7 +1101,7 @@ pub struct _cef_browser_host_t {
|
|||
// cef_render_handler_t::StartDragging call has completed. This function may
|
||||
// be called immediately without first calling DragSourceEndedAt to cancel a
|
||||
// drag operation. If the web view is both the drag source and the drag target
|
||||
// then all DragTarget* functions should be called before DragSource* mthods.
|
||||
// then all DragTarget* functions should be called before DragSource* methods.
|
||||
// This function is only used when window rendering is disabled.
|
||||
//
|
||||
pub drag_source_system_drag_ended: Option<extern "C" fn(
|
||||
|
@ -1416,7 +1416,7 @@ impl CefBrowserHost {
|
|||
|
||||
//
|
||||
// Search for |searchText|. |identifier| can be used to have multiple searches
|
||||
// running simultaniously. |forward| indicates whether to search forward or
|
||||
// running simultaneously. |forward| indicates whether to search forward or
|
||||
// backward within the page. |matchCase| indicates whether the search should
|
||||
// be case-sensitive. |findNext| indicates whether this is the first request
|
||||
// or a follow-up.
|
||||
|
@ -1888,7 +1888,7 @@ impl CefBrowserHost {
|
|||
// being cancelled. |x| and |y| are mouse coordinates relative to the upper-
|
||||
// left corner of the view. If the web view is both the drag source and the
|
||||
// drag target then all DragTarget* functions should be called before
|
||||
// DragSource* mthods. This function is only used when window rendering is
|
||||
// DragSource* methods. This function is only used when window rendering is
|
||||
// disabled.
|
||||
//
|
||||
pub fn drag_source_ended_at(&self, x: libc::c_int, y: libc::c_int,
|
||||
|
@ -1911,7 +1911,7 @@ impl CefBrowserHost {
|
|||
// cef_render_handler_t::StartDragging call has completed. This function may
|
||||
// be called immediately without first calling DragSourceEndedAt to cancel a
|
||||
// drag operation. If the web view is both the drag source and the drag target
|
||||
// then all DragTarget* functions should be called before DragSource* mthods.
|
||||
// then all DragTarget* functions should be called before DragSource* methods.
|
||||
// This function is only used when window rendering is disabled.
|
||||
//
|
||||
pub fn drag_source_system_drag_ended(&self) -> () {
|
||||
|
|
|
@ -274,7 +274,7 @@ impl CefWrap<*mut cef_context_menu_handler_t> for Option<CefContextMenuHandler>
|
|||
|
||||
|
||||
//
|
||||
// Provides information about the context menu state. The ethods of this
|
||||
// Provides information about the context menu state. The methods of this
|
||||
// structure can only be accessed on browser process the UI thread.
|
||||
//
|
||||
#[repr(C)]
|
||||
|
@ -438,7 +438,7 @@ pub type cef_context_menu_params_t = _cef_context_menu_params_t;
|
|||
|
||||
|
||||
//
|
||||
// Provides information about the context menu state. The ethods of this
|
||||
// Provides information about the context menu state. The methods of this
|
||||
// structure can only be accessed on browser process the UI thread.
|
||||
//
|
||||
pub struct CefContextMenuParams {
|
||||
|
|
|
@ -95,7 +95,7 @@ pub struct _cef_life_span_handler_t {
|
|||
browser: *mut interfaces::cef_browser_t) -> libc::c_int>,
|
||||
|
||||
//
|
||||
// Called when a browser has recieved a request to close. This may result
|
||||
// Called when a browser has received a request to close. This may result
|
||||
// directly from a call to cef_browser_host_t::close_browser() or indirectly
|
||||
// if the browser is a top-level OS window created by CEF and the user
|
||||
// attempts to close the window. This function will be called after the
|
||||
|
@ -318,7 +318,7 @@ impl CefLifeSpanHandler {
|
|||
}
|
||||
|
||||
//
|
||||
// Called when a browser has recieved a request to close. This may result
|
||||
// Called when a browser has received a request to close. This may result
|
||||
// directly from a call to cef_browser_host_t::close_browser() or indirectly
|
||||
// if the browser is a top-level OS window created by CEF and the user
|
||||
// attempts to close the window. This function will be called after the
|
||||
|
|
|
@ -1168,7 +1168,7 @@ pub struct _cef_v8value_t {
|
|||
pub get_int_value: Option<extern "C" fn(this: *mut cef_v8value_t) -> i32>,
|
||||
|
||||
//
|
||||
// Return an unisgned int value. The underlying data will be converted to if
|
||||
// Return an unsigned int value. The underlying data will be converted to if
|
||||
// necessary.
|
||||
//
|
||||
pub get_uint_value: Option<extern "C" fn(this: *mut cef_v8value_t) -> u32>,
|
||||
|
@ -1714,7 +1714,7 @@ impl CefV8Value {
|
|||
}
|
||||
|
||||
//
|
||||
// Return an unisgned int value. The underlying data will be converted to if
|
||||
// Return an unsigned int value. The underlying data will be converted to if
|
||||
// necessary.
|
||||
//
|
||||
pub fn get_uint_value(&self) -> u32 {
|
||||
|
|
|
@ -385,7 +385,7 @@ pub struct cef_key_event {
|
|||
pub windows_key_code: c_int,
|
||||
|
||||
//
|
||||
// The actual key code genenerated by the platform.
|
||||
// The actual key code generated by the platform.
|
||||
//
|
||||
pub native_key_code: c_int,
|
||||
|
||||
|
@ -761,7 +761,7 @@ pub struct cef_settings {
|
|||
|
||||
//
|
||||
// Opaque background color used for accelerated content. By default the
|
||||
// background color will be white. Only the RGB compontents of the specified
|
||||
// background color will be white. Only the RGB components of the specified
|
||||
// value will be used. The alpha component must greater than 0 to enable use
|
||||
// of the background color but will be otherwise ignored.
|
||||
//
|
||||
|
@ -1441,7 +1441,7 @@ pub struct _cef_geoposition_t {
|
|||
pub speed: c_double,
|
||||
|
||||
//
|
||||
// Time of position measurement in miliseconds since Epoch in UTC time. This
|
||||
// Time of position measurement in milliseconds since Epoch in UTC time. This
|
||||
// is taken from the host computer's system clock.
|
||||
//
|
||||
pub timestamp: cef_time_t,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue