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:
Shelley Vohr 2019-06-25 11:31:14 -07:00 committed by GitHub
parent ab5ec0af33
commit c87394ee25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 25 deletions

View file

@ -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