feat: add about panel customization on Windows (#19420)
This commit is contained in:
parent
ef03c4b7bb
commit
f654da9f56
4 changed files with 58 additions and 11 deletions
|
@ -186,10 +186,8 @@ class Browser : public WindowListObserver {
|
|||
|
||||
#endif // defined(OS_MACOSX)
|
||||
|
||||
#if defined(OS_MACOSX) || defined(OS_LINUX)
|
||||
void ShowAboutPanel();
|
||||
void SetAboutPanelOptions(const base::DictionaryValue& options);
|
||||
#endif
|
||||
|
||||
#if defined(OS_MACOSX) || defined(OS_WIN)
|
||||
void ShowEmojiPanel();
|
||||
|
@ -305,7 +303,7 @@ class Browser : public WindowListObserver {
|
|||
|
||||
std::unique_ptr<util::Promise> ready_promise_;
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
#if defined(OS_LINUX) || defined(OS_WIN)
|
||||
base::Value about_panel_options_;
|
||||
#elif defined(OS_MACOSX)
|
||||
base::DictionaryValue about_panel_options_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue