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

This commit is contained in:
Shelley Vohr 2024-05-23 11:08:36 +02:00 committed by GitHub
parent 7ff3905120
commit 31a753ff7a
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;