mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -11,26 +11,21 @@
|
||||
namespace client {
|
||||
|
||||
struct OsrRendererSettings {
|
||||
OsrRendererSettings()
|
||||
: show_update_rect(false),
|
||||
background_color(0),
|
||||
shared_texture_enabled(false),
|
||||
external_begin_frame_enabled(false),
|
||||
begin_frame_rate(0) {}
|
||||
OsrRendererSettings() = default;
|
||||
|
||||
// If true draw a border around update rectangles.
|
||||
bool show_update_rect;
|
||||
bool show_update_rect = false;
|
||||
|
||||
// Background color. Enables transparency if the alpha component is 0.
|
||||
cef_color_t background_color;
|
||||
cef_color_t background_color = 0;
|
||||
|
||||
// Render using shared textures. Supported on Windows only via D3D11.
|
||||
bool shared_texture_enabled;
|
||||
bool shared_texture_enabled = false;
|
||||
|
||||
// Client implements a BeginFrame timer by calling
|
||||
// CefBrowserHost::SendExternalBeginFrame at the specified frame rate.
|
||||
bool external_begin_frame_enabled;
|
||||
int begin_frame_rate;
|
||||
bool external_begin_frame_enabled = false;
|
||||
int begin_frame_rate = 0;
|
||||
};
|
||||
|
||||
} // namespace client
|
||||
|
Reference in New Issue
Block a user