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:
@ -52,13 +52,13 @@ class CefPrintDialogCallback : public virtual CefBaseRefCounted {
|
||||
// Continue printing with the specified |settings|.
|
||||
///
|
||||
/*--cef(capi_name=cont)--*/
|
||||
virtual void Continue(CefRefPtr<CefPrintSettings> settings) =0;
|
||||
virtual void Continue(CefRefPtr<CefPrintSettings> settings) = 0;
|
||||
|
||||
///
|
||||
// Cancel the printing.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Cancel() =0;
|
||||
virtual void Cancel() = 0;
|
||||
};
|
||||
|
||||
///
|
||||
@ -71,10 +71,9 @@ class CefPrintJobCallback : public virtual CefBaseRefCounted {
|
||||
// Indicate completion of the print job.
|
||||
///
|
||||
/*--cef(capi_name=cont)--*/
|
||||
virtual void Continue() =0;
|
||||
virtual void Continue() = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Implement this interface to handle printing on Linux. The methods of this
|
||||
// class will be called on the browser process UI thread.
|
||||
@ -89,7 +88,7 @@ class CefPrintHandler : public virtual CefBaseRefCounted {
|
||||
// window.print() or PDF extension print button).
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPrintStart(CefRefPtr<CefBrowser> browser) =0;
|
||||
virtual void OnPrintStart(CefRefPtr<CefBrowser> browser) = 0;
|
||||
|
||||
///
|
||||
// Synchronize |settings| with client state. If |get_defaults| is true then
|
||||
@ -98,7 +97,7 @@ class CefPrintHandler : public virtual CefBaseRefCounted {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPrintSettings(CefRefPtr<CefPrintSettings> settings,
|
||||
bool get_defaults) =0;
|
||||
bool get_defaults) = 0;
|
||||
|
||||
///
|
||||
// Show the print dialog. Execute |callback| once the dialog is dismissed.
|
||||
@ -107,7 +106,7 @@ class CefPrintHandler : public virtual CefBaseRefCounted {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool OnPrintDialog(bool has_selection,
|
||||
CefRefPtr<CefPrintDialogCallback> callback) =0;
|
||||
CefRefPtr<CefPrintDialogCallback> callback) = 0;
|
||||
|
||||
///
|
||||
// Send the print job to the printer. Execute |callback| once the job is
|
||||
@ -117,13 +116,13 @@ class CefPrintHandler : public virtual CefBaseRefCounted {
|
||||
/*--cef()--*/
|
||||
virtual bool OnPrintJob(const CefString& document_name,
|
||||
const CefString& pdf_file_path,
|
||||
CefRefPtr<CefPrintJobCallback> callback) =0;
|
||||
CefRefPtr<CefPrintJobCallback> callback) = 0;
|
||||
|
||||
///
|
||||
// Reset client state related to printing.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPrintReset() =0;
|
||||
virtual void OnPrintReset() = 0;
|
||||
|
||||
///
|
||||
// Return the PDF paper size in device units. Used in combination with
|
||||
|
Reference in New Issue
Block a user