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

@@ -9,6 +9,8 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=88ac661252337963a1857c77a4f103a377874b01$
//
#ifndef CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
#define CEF_LIBCEF_DLL_CTOCPP_VIEWS_WINDOW_CTOCPP_H_
@@ -19,8 +21,8 @@
#endif
#include <vector>
#include "include/views/cef_window.h"
#include "include/capi/views/cef_window_capi.h"
#include "include/views/cef_window.h"
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
// Wrap a C structure with a C++ class.
@@ -56,8 +58,8 @@ class CefWindowCToCpp
void SetWindowAppIcon(CefRefPtr<CefImage> image) OVERRIDE;
CefRefPtr<CefImage> GetWindowAppIcon() OVERRIDE;
void ShowMenu(CefRefPtr<CefMenuModel> menu_model,
const CefPoint& screen_point,
cef_menu_anchor_position_t anchor_position) OVERRIDE;
const CefPoint& screen_point,
cef_menu_anchor_position_t anchor_position) OVERRIDE;
void CancelMenu() OVERRIDE;
CefRefPtr<CefDisplay> GetDisplay() OVERRIDE;
CefRect GetClientAreaBoundsInScreen() OVERRIDE;
@@ -66,10 +68,14 @@ class CefWindowCToCpp
CefWindowHandle GetWindowHandle() OVERRIDE;
void SendKeyPress(int key_code, uint32 event_flags) OVERRIDE;
void SendMouseMove(int screen_x, int screen_y) OVERRIDE;
void SendMouseEvents(cef_mouse_button_type_t button, bool mouse_down,
bool mouse_up) OVERRIDE;
void SetAccelerator(int command_id, int key_code, bool shift_pressed,
bool ctrl_pressed, bool alt_pressed) OVERRIDE;
void SendMouseEvents(cef_mouse_button_type_t button,
bool mouse_down,
bool mouse_up) OVERRIDE;
void SetAccelerator(int command_id,
int key_code,
bool shift_pressed,
bool ctrl_pressed,
bool alt_pressed) OVERRIDE;
void RemoveAccelerator(int command_id) OVERRIDE;
void RemoveAllAccelerators() OVERRIDE;