chrome: Add setting for controlling the status bubble (fixes isse #3279)

This change adds `CefBrowserSettings.chrome_status_bubble` for controlling
whether the Chrome status bubble will be used.

Testable in cefclient by passing the `--hide-chrome-status-bubble`
command-line flag.
This commit is contained in:
Marshall Greenblatt
2022-03-21 17:22:07 -04:00
parent 1eab4322f8
commit 4615fffafb
13 changed files with 106 additions and 32 deletions

View File

@@ -64,17 +64,16 @@ class MainContextImpl : public MainContext {
// Track context state. Accessing these variables from multiple threads is
// safe because only a single thread will exist at the time that they're set
// (during context initialization and shutdown).
bool initialized_;
bool shutdown_;
bool initialized_ = false;
bool shutdown_ = false;
std::string main_url_;
cef_color_t background_color_;
cef_color_t browser_background_color_;
cef_color_t background_color_ = 0;
cef_color_t browser_background_color_ = 0;
bool use_windowless_rendering_;
int windowless_frame_rate_;
int windowless_frame_rate_ = 0;
bool use_chrome_runtime_;
bool use_views_;
bool touch_events_enabled_;
std::unique_ptr<RootWindowManager> root_window_manager_;