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

@ -33,6 +33,8 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=f785be05a42d3490ac2e625470befa7d4f77befb$
//
#ifndef CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_CAPI_H_
#define CEF_INCLUDE_CAPI_VIEWS_CEF_BUTTON_CAPI_H_
@ -60,41 +62,40 @@ typedef struct _cef_button_t {
///
// Returns this Button as a LabelButton or NULL if this is not a LabelButton.
///
struct _cef_label_button_t* (CEF_CALLBACK *as_label_button)(
struct _cef_label_button_t*(CEF_CALLBACK* as_label_button)(
struct _cef_button_t* self);
///
// Sets the current display state of the Button.
///
void (CEF_CALLBACK *set_state)(struct _cef_button_t* self,
cef_button_state_t state);
void(CEF_CALLBACK* set_state)(struct _cef_button_t* self,
cef_button_state_t state);
///
// Returns the current display state of the Button.
///
cef_button_state_t (CEF_CALLBACK *get_state)(struct _cef_button_t* self);
cef_button_state_t(CEF_CALLBACK* get_state)(struct _cef_button_t* self);
///
// Sets the Button will use an ink drop effect for displaying state changes.
///
void (CEF_CALLBACK *set_ink_drop_enabled)(struct _cef_button_t* self,
int enabled);
void(CEF_CALLBACK* set_ink_drop_enabled)(struct _cef_button_t* self,
int enabled);
///
// Sets the tooltip text that will be displayed when the user hovers the mouse
// cursor over the Button.
///
void (CEF_CALLBACK *set_tooltip_text)(struct _cef_button_t* self,
const cef_string_t* tooltip_text);
void(CEF_CALLBACK* set_tooltip_text)(struct _cef_button_t* self,
const cef_string_t* tooltip_text);
///
// Sets the accessible name that will be exposed to assistive technology (AT).
///
void (CEF_CALLBACK *set_accessible_name)(struct _cef_button_t* self,
const cef_string_t* name);
void(CEF_CALLBACK* set_accessible_name)(struct _cef_button_t* self,
const cef_string_t* name);
} cef_button_t;
#ifdef __cplusplus
}
#endif