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:
@@ -72,15 +72,16 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
// true if the rectangle was provided.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool GetRootScreenRect(CefRefPtr<CefBrowser> browser,
|
||||
CefRect& rect) { return false; }
|
||||
virtual bool GetRootScreenRect(CefRefPtr<CefBrowser> browser, CefRect& rect) {
|
||||
return false;
|
||||
}
|
||||
|
||||
///
|
||||
// Called to retrieve the view rectangle which is relative to screen
|
||||
// coordinates. Return true if the rectangle was provided.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool GetViewRect(CefRefPtr<CefBrowser> browser, CefRect& rect) =0;
|
||||
virtual bool GetViewRect(CefRefPtr<CefBrowser> browser, CefRect& rect) = 0;
|
||||
|
||||
///
|
||||
// Called to retrieve the translation from view coordinates to actual screen
|
||||
@@ -91,7 +92,9 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
int viewX,
|
||||
int viewY,
|
||||
int& screenX,
|
||||
int& screenY) { return false; }
|
||||
int& screenY) {
|
||||
return false;
|
||||
}
|
||||
|
||||
///
|
||||
// Called to allow the client to fill in the CefScreenInfo object with
|
||||
@@ -104,23 +107,24 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool GetScreenInfo(CefRefPtr<CefBrowser> browser,
|
||||
CefScreenInfo& screen_info) { return false; }
|
||||
CefScreenInfo& screen_info) {
|
||||
return false;
|
||||
}
|
||||
|
||||
///
|
||||
// Called when the browser wants to show or hide the popup widget. The popup
|
||||
// should be shown if |show| is true and hidden if |show| is false.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPopupShow(CefRefPtr<CefBrowser> browser,
|
||||
bool show) {}
|
||||
virtual void OnPopupShow(CefRefPtr<CefBrowser> browser, bool show) {}
|
||||
|
||||
///
|
||||
// Called when the browser wants to move or resize the popup widget. |rect|
|
||||
// contains the new location and size in view coordinates.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnPopupSize(CefRefPtr<CefBrowser> browser,
|
||||
const CefRect& rect) {}
|
||||
virtual void OnPopupSize(CefRefPtr<CefBrowser> browser, const CefRect& rect) {
|
||||
}
|
||||
|
||||
///
|
||||
// Called when an element should be painted. Pixel values passed to this
|
||||
@@ -137,7 +141,8 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
PaintElementType type,
|
||||
const RectList& dirtyRects,
|
||||
const void* buffer,
|
||||
int width, int height) =0;
|
||||
int width,
|
||||
int height) = 0;
|
||||
|
||||
///
|
||||
// Called when the browser's cursor has changed. If |type| is CT_CUSTOM then
|
||||
@@ -168,7 +173,10 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
virtual bool StartDragging(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefDragData> drag_data,
|
||||
DragOperationsMask allowed_ops,
|
||||
int x, int y) { return false; }
|
||||
int x,
|
||||
int y) {
|
||||
return false;
|
||||
}
|
||||
|
||||
///
|
||||
// Called when the web view wants to update the mouse cursor during a
|
||||
|
Reference in New Issue
Block a user