feat: show optional authors in gtk about panel (#18964)
* feat: show optional authors in gtk about panel * chore: use a base::Value for about dialog options on Linux * docs: mark 'version' as supported on Linux too
This commit is contained in:
parent
ab5ec0af33
commit
c87394ee25
3 changed files with 42 additions and 25 deletions
|
@ -159,9 +159,9 @@ class Browser : public WindowListObserver {
|
|||
const base::DictionaryValue& user_info);
|
||||
|
||||
// Bounce the dock icon.
|
||||
enum class BounceType {
|
||||
CRITICAL = 0, // NSCriticalRequest
|
||||
INFORMATIONAL = 10, // NSInformationalRequest
|
||||
enum class BounceType{
|
||||
CRITICAL = 0, // NSCriticalRequest
|
||||
INFORMATIONAL = 10, // NSInformationalRequest
|
||||
};
|
||||
int DockBounce(BounceType type);
|
||||
void DockCancelBounce(int request_id);
|
||||
|
@ -305,7 +305,9 @@ class Browser : public WindowListObserver {
|
|||
|
||||
std::unique_ptr<util::Promise> ready_promise_;
|
||||
|
||||
#if defined(OS_LINUX) || defined(OS_MACOSX)
|
||||
#if defined(OS_LINUX)
|
||||
base::Value about_panel_options_;
|
||||
#elif defined(OS_MACOSX)
|
||||
base::DictionaryValue about_panel_options_;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue