fix: setTitleBarOverlay should be implemented on BaseWindow (#42151)

This commit is contained in:
Shelley Vohr 2024-05-14 22:31:41 +02:00 committed by GitHub
parent 40450d0a0e
commit 842aa02179
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 62 additions and 71 deletions

View file

@ -241,6 +241,8 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
bool SetThumbnailClip(const gfx::Rect& region);
bool SetThumbnailToolTip(const std::string& tooltip);
void SetAppDetails(const gin_helper::Dictionary& options);
void SetTitleBarOverlay(const gin_helper::Dictionary& options,
gin_helper::Arguments* args);
#endif
int32_t GetID() const;