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:
@@ -9,6 +9,8 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=ce64517474af4fd801c702c68d9e6acbb38cdea7$
|
||||
//
|
||||
|
||||
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_LABEL_BUTTON_CTOCPP_H_
|
||||
#define CEF_LIBCEF_DLL_CTOCPP_VIEWS_LABEL_BUTTON_CTOCPP_H_
|
||||
@@ -18,17 +20,17 @@
|
||||
#error This file can be included wrapper-side only
|
||||
#endif
|
||||
|
||||
#include "include/views/cef_label_button.h"
|
||||
#include "include/capi/views/cef_label_button_capi.h"
|
||||
#include "include/views/cef_menu_button.h"
|
||||
#include "include/capi/views/cef_menu_button_capi.h"
|
||||
#include "include/views/cef_label_button.h"
|
||||
#include "include/views/cef_menu_button.h"
|
||||
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
|
||||
|
||||
// Wrap a C structure with a C++ class.
|
||||
// This class may be instantiated and accessed wrapper-side only.
|
||||
class CefLabelButtonCToCpp
|
||||
: public CefCToCppRefCounted<CefLabelButtonCToCpp, CefLabelButton,
|
||||
cef_label_button_t> {
|
||||
class CefLabelButtonCToCpp : public CefCToCppRefCounted<CefLabelButtonCToCpp,
|
||||
CefLabelButton,
|
||||
cef_label_button_t> {
|
||||
public:
|
||||
CefLabelButtonCToCpp();
|
||||
|
||||
@@ -37,7 +39,7 @@ class CefLabelButtonCToCpp
|
||||
void SetText(const CefString& text) OVERRIDE;
|
||||
CefString GetText() OVERRIDE;
|
||||
void SetImage(cef_button_state_t button_state,
|
||||
CefRefPtr<CefImage> image) OVERRIDE;
|
||||
CefRefPtr<CefImage> image) OVERRIDE;
|
||||
CefRefPtr<CefImage> GetImage(cef_button_state_t button_state) OVERRIDE;
|
||||
void SetTextColor(cef_button_state_t for_state, cef_color_t color) OVERRIDE;
|
||||
void SetEnabledTextColors(cef_color_t color) OVERRIDE;
|
||||
|
Reference in New Issue
Block a user