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

@@ -38,8 +38,8 @@
#define CEF_INCLUDE_VIEWS_CEF_PANEL_H_
#pragma once
#include "include/views/cef_view.h"
#include "include/views/cef_panel_delegate.h"
#include "include/views/cef_view.h"
class CefBoxLayout;
class CefFillLayout;
@@ -64,80 +64,78 @@ class CefPanel : public CefView {
// Returns this Panel as a Window or NULL if this is not a Window.
///
/*--cef()--*/
virtual CefRefPtr<CefWindow> AsWindow() =0;
virtual CefRefPtr<CefWindow> AsWindow() = 0;
///
// Set this Panel's Layout to FillLayout and return the FillLayout object.
///
/*--cef()--*/
virtual CefRefPtr<CefFillLayout> SetToFillLayout() =0;
virtual CefRefPtr<CefFillLayout> SetToFillLayout() = 0;
///
// Set this Panel's Layout to BoxLayout and return the BoxLayout object.
///
/*--cef()--*/
virtual CefRefPtr<CefBoxLayout> SetToBoxLayout(
const CefBoxLayoutSettings& settings) =0;
const CefBoxLayoutSettings& settings) = 0;
///
// Get the Layout.
///
/*--cef()--*/
virtual CefRefPtr<CefLayout> GetLayout() =0;
virtual CefRefPtr<CefLayout> GetLayout() = 0;
///
// Lay out the child Views (set their bounds based on sizing heuristics
// specific to the current Layout).
///
/*--cef()--*/
virtual void Layout() =0;
virtual void Layout() = 0;
///
// Add a child View.
///
/*--cef()--*/
virtual void AddChildView(CefRefPtr<CefView> view) =0;
virtual void AddChildView(CefRefPtr<CefView> view) = 0;
///
// Add a child View at the specified |index|. If |index| matches the result of
// GetChildCount() then the View will be added at the end.
///
/*--cef(index_param=index)--*/
virtual void AddChildViewAt(CefRefPtr<CefView> view,
int index) =0;
virtual void AddChildViewAt(CefRefPtr<CefView> view, int index) = 0;
///
// Move the child View to the specified |index|. A negative value for |index|
// will move the View to the end.
///
/*--cef()--*/
virtual void ReorderChildView(CefRefPtr<CefView> view,
int index) =0;
virtual void ReorderChildView(CefRefPtr<CefView> view, int index) = 0;
///
// Remove a child View. The View can then be added to another Panel.
///
/*--cef()--*/
virtual void RemoveChildView(CefRefPtr<CefView> view) =0;
virtual void RemoveChildView(CefRefPtr<CefView> view) = 0;
///
// Remove all child Views. The removed Views will be deleted if the client
// holds no references to them.
///
/*--cef()--*/
virtual void RemoveAllChildViews() =0;
virtual void RemoveAllChildViews() = 0;
///
// Returns the number of child Views.
///
/*--cef()--*/
virtual size_t GetChildViewCount() =0;
virtual size_t GetChildViewCount() = 0;
///
// Returns the child View at the specified |index|.
///
/*--cef(index_param=index)--*/
virtual CefRefPtr<CefView> GetChildViewAt(int index) =0;
virtual CefRefPtr<CefView> GetChildViewAt(int index) = 0;
};
#endif // CEF_INCLUDE_VIEWS_CEF_PANEL_H_