Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@ -63,14 +63,14 @@ class CefImage : public virtual CefBaseRefCounted {
// Returns true if this Image is empty.
///
/*--cef()--*/
virtual bool IsEmpty() =0;
virtual bool IsEmpty() = 0;
///
// Returns true if this Image and |that| Image share the same underlying
// storage. Will also return true if both images are empty.
///
/*--cef()--*/
virtual bool IsSame(CefRefPtr<CefImage> that) =0;
virtual bool IsSame(CefRefPtr<CefImage> that) = 0;
///
// Add a bitmap image representation for |scale_factor|. Only 32-bit RGBA/BGRA
@ -86,7 +86,7 @@ class CefImage : public virtual CefBaseRefCounted {
cef_color_type_t color_type,
cef_alpha_type_t alpha_type,
const void* pixel_data,
size_t pixel_data_size) =0;
size_t pixel_data_size) = 0;
///
// Add a PNG image representation for |scale_factor|. |png_data| is the image
@ -96,7 +96,7 @@ class CefImage : public virtual CefBaseRefCounted {
/*--cef()--*/
virtual bool AddPNG(float scale_factor,
const void* png_data,
size_t png_data_size) =0;
size_t png_data_size) = 0;
///
// Create a JPEG image representation for |scale_factor|. |jpeg_data| is the
@ -106,31 +106,31 @@ class CefImage : public virtual CefBaseRefCounted {
/*--cef()--*/
virtual bool AddJPEG(float scale_factor,
const void* jpeg_data,
size_t jpeg_data_size) =0;
size_t jpeg_data_size) = 0;
///
// Returns the image width in density independent pixel (DIP) units.
///
/*--cef()--*/
virtual size_t GetWidth() =0;
virtual size_t GetWidth() = 0;
///
// Returns the image height in density independent pixel (DIP) units.
///
/*--cef()--*/
virtual size_t GetHeight() =0;
virtual size_t GetHeight() = 0;
///
// Returns true if this image contains a representation for |scale_factor|.
///
/*--cef()--*/
virtual bool HasRepresentation(float scale_factor) =0;
virtual bool HasRepresentation(float scale_factor) = 0;
///
// Removes the representation for |scale_factor|. Returns true on success.
///
/*--cef()--*/
virtual bool RemoveRepresentation(float scale_factor) =0;
virtual bool RemoveRepresentation(float scale_factor) = 0;
///
// Returns information for the representation that most closely matches
@ -142,7 +142,7 @@ class CefImage : public virtual CefBaseRefCounted {
virtual bool GetRepresentationInfo(float scale_factor,
float& actual_scale_factor,
int& pixel_width,
int& pixel_height) =0;
int& pixel_height) = 0;
///
// Returns the bitmap representation that most closely matches |scale_factor|.
@ -157,7 +157,7 @@ class CefImage : public virtual CefBaseRefCounted {
cef_color_type_t color_type,
cef_alpha_type_t alpha_type,
int& pixel_width,
int& pixel_height) =0;
int& pixel_height) = 0;
///
// Returns the PNG representation that most closely matches |scale_factor|. If
@ -170,7 +170,7 @@ class CefImage : public virtual CefBaseRefCounted {
virtual CefRefPtr<CefBinaryValue> GetAsPNG(float scale_factor,
bool with_transparency,
int& pixel_width,
int& pixel_height) =0;
int& pixel_height) = 0;
///
// Returns the JPEG representation that most closely matches |scale_factor|.
@ -185,7 +185,7 @@ class CefImage : public virtual CefBaseRefCounted {
virtual CefRefPtr<CefBinaryValue> GetAsJPEG(float scale_factor,
int quality,
int& pixel_width,
int& pixel_height) =0;
int& pixel_height) = 0;
};
#endif // CEF_INCLUDE_CEF_IMAGE_H_