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:
@ -42,7 +42,6 @@
|
||||
#include "include/cef_browser.h"
|
||||
#include "include/cef_download_item.h"
|
||||
|
||||
|
||||
///
|
||||
// Callback interface used to asynchronously continue a download.
|
||||
///
|
||||
@ -56,10 +55,9 @@ class CefBeforeDownloadCallback : public virtual CefBaseRefCounted {
|
||||
// if you do wish to show the default "Save As" dialog.
|
||||
///
|
||||
/*--cef(capi_name=cont,optional_param=download_path)--*/
|
||||
virtual void Continue(const CefString& download_path, bool show_dialog) =0;
|
||||
virtual void Continue(const CefString& download_path, bool show_dialog) = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Callback interface used to asynchronously cancel a download.
|
||||
///
|
||||
@ -70,22 +68,21 @@ class CefDownloadItemCallback : public virtual CefBaseRefCounted {
|
||||
// Call to cancel the download.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Cancel() =0;
|
||||
virtual void Cancel() = 0;
|
||||
|
||||
///
|
||||
// Call to pause the download.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Pause() =0;
|
||||
virtual void Pause() = 0;
|
||||
|
||||
///
|
||||
// Call to resume the download.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Resume() =0;
|
||||
virtual void Resume() = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Class used to handle file downloads. The methods of this class will called
|
||||
// on the browser process UI thread.
|
||||
@ -105,7 +102,7 @@ class CefDownloadHandler : public virtual CefBaseRefCounted {
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDownloadItem> download_item,
|
||||
const CefString& suggested_name,
|
||||
CefRefPtr<CefBeforeDownloadCallback> callback) =0;
|
||||
CefRefPtr<CefBeforeDownloadCallback> callback) = 0;
|
||||
|
||||
///
|
||||
// Called when a download's status or progress information has been updated.
|
||||
@ -115,10 +112,9 @@ class CefDownloadHandler : public virtual CefBaseRefCounted {
|
||||
// this method.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnDownloadUpdated(
|
||||
CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDownloadItem> download_item,
|
||||
CefRefPtr<CefDownloadItemCallback> callback) {}
|
||||
virtual void OnDownloadUpdated(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDownloadItem> download_item,
|
||||
CefRefPtr<CefDownloadItemCallback> callback) {}
|
||||
};
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_DOWNLOAD_HANDLER_H_
|
||||
|
Reference in New Issue
Block a user