fix: propagate preferred color scheme to the renderer (#22896)
* fix: do not crash if the window is closed syncronously with a nativeTheme change * fix: propogate preferred color scheme to the renderer and keep it up to date
This commit is contained in:
parent
212b47a77b
commit
fea3366bc7
7 changed files with 56 additions and 17 deletions
|
@ -198,6 +198,7 @@ class NativeWindow : public base::SupportsUserData,
|
|||
#if defined(OS_MACOSX)
|
||||
virtual void SetTrafficLightPosition(const gfx::Point& position) = 0;
|
||||
virtual gfx::Point GetTrafficLightPosition() const = 0;
|
||||
virtual void RedrawTrafficLights() = 0;
|
||||
#endif
|
||||
|
||||
// Touchbar API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue