tests: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-19 21:22:56 -05:00
parent 9fd312ce04
commit 0a64bb6f9b
108 changed files with 505 additions and 647 deletions

View File

@@ -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