mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Apply clang-format to all C, C++ and ObjC files (issue #2171)
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=4475f7e48898bdef8051c849873fb2528320cd9c$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_CEF_DOWNLOAD_HANDLER_CAPI_H_
|
||||
#define CEF_INCLUDE_CAPI_CEF_DOWNLOAD_HANDLER_CAPI_H_
|
||||
@@ -46,7 +48,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
///
|
||||
// Callback structure used to asynchronously continue a download.
|
||||
///
|
||||
@@ -62,11 +63,11 @@ typedef struct _cef_before_download_callback_t {
|
||||
// suggested name and the default temp directory. Set |show_dialog| to true
|
||||
// (1) if you do wish to show the default "Save As" dialog.
|
||||
///
|
||||
void (CEF_CALLBACK *cont)(struct _cef_before_download_callback_t* self,
|
||||
const cef_string_t* download_path, int show_dialog);
|
||||
void(CEF_CALLBACK* cont)(struct _cef_before_download_callback_t* self,
|
||||
const cef_string_t* download_path,
|
||||
int show_dialog);
|
||||
} cef_before_download_callback_t;
|
||||
|
||||
|
||||
///
|
||||
// Callback structure used to asynchronously cancel a download.
|
||||
///
|
||||
@@ -79,20 +80,19 @@ typedef struct _cef_download_item_callback_t {
|
||||
///
|
||||
// Call to cancel the download.
|
||||
///
|
||||
void (CEF_CALLBACK *cancel)(struct _cef_download_item_callback_t* self);
|
||||
void(CEF_CALLBACK* cancel)(struct _cef_download_item_callback_t* self);
|
||||
|
||||
///
|
||||
// Call to pause the download.
|
||||
///
|
||||
void (CEF_CALLBACK *pause)(struct _cef_download_item_callback_t* self);
|
||||
void(CEF_CALLBACK* pause)(struct _cef_download_item_callback_t* self);
|
||||
|
||||
///
|
||||
// Call to resume the download.
|
||||
///
|
||||
void (CEF_CALLBACK *resume)(struct _cef_download_item_callback_t* self);
|
||||
void(CEF_CALLBACK* resume)(struct _cef_download_item_callback_t* self);
|
||||
} cef_download_item_callback_t;
|
||||
|
||||
|
||||
///
|
||||
// Structure used to handle file downloads. The functions of this structure will
|
||||
// called on the browser process UI thread.
|
||||
@@ -110,7 +110,8 @@ typedef struct _cef_download_handler_t {
|
||||
// download if desired. Do not keep a reference to |download_item| outside of
|
||||
// this function.
|
||||
///
|
||||
void (CEF_CALLBACK *on_before_download)(struct _cef_download_handler_t* self,
|
||||
void(CEF_CALLBACK* on_before_download)(
|
||||
struct _cef_download_handler_t* self,
|
||||
struct _cef_browser_t* browser,
|
||||
struct _cef_download_item_t* download_item,
|
||||
const cef_string_t* suggested_name,
|
||||
@@ -123,13 +124,13 @@ typedef struct _cef_download_handler_t {
|
||||
// download if desired. Do not keep a reference to |download_item| outside of
|
||||
// this function.
|
||||
///
|
||||
void (CEF_CALLBACK *on_download_updated)(struct _cef_download_handler_t* self,
|
||||
void(CEF_CALLBACK* on_download_updated)(
|
||||
struct _cef_download_handler_t* self,
|
||||
struct _cef_browser_t* browser,
|
||||
struct _cef_download_item_t* download_item,
|
||||
struct _cef_download_item_callback_t* callback);
|
||||
} cef_download_handler_t;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user