mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: base::Value::Dict -> base::DictValue
https://chromium-review.googlesource.com/c/chromium/src/+/7513889
This commit is contained in:
@@ -174,7 +174,7 @@ class Browser : private WindowListObserver {
|
||||
|
||||
// Creates an activity and sets it as the one currently in use.
|
||||
void SetUserActivity(const std::string& type,
|
||||
base::Value::Dict user_info,
|
||||
base::DictValue user_info,
|
||||
gin::Arguments* args);
|
||||
|
||||
// Returns the type name of the current user activity.
|
||||
@@ -189,7 +189,7 @@ class Browser : private WindowListObserver {
|
||||
|
||||
// Updates the current user activity
|
||||
void UpdateCurrentActivity(const std::string& type,
|
||||
base::Value::Dict user_info);
|
||||
base::DictValue user_info);
|
||||
|
||||
// Indicates that an user activity is about to be resumed.
|
||||
bool WillContinueUserActivity(const std::string& type);
|
||||
@@ -200,16 +200,16 @@ class Browser : private WindowListObserver {
|
||||
|
||||
// Resumes an activity via hand-off.
|
||||
bool ContinueUserActivity(const std::string& type,
|
||||
base::Value::Dict user_info,
|
||||
base::Value::Dict details);
|
||||
base::DictValue user_info,
|
||||
base::DictValue details);
|
||||
|
||||
// Indicates that an activity was continued on another device.
|
||||
void UserActivityWasContinued(const std::string& type,
|
||||
base::Value::Dict user_info);
|
||||
base::DictValue user_info);
|
||||
|
||||
// Gives an opportunity to update the Handoff payload.
|
||||
bool UpdateUserActivityState(const std::string& type,
|
||||
base::Value::Dict user_info);
|
||||
base::DictValue user_info);
|
||||
|
||||
void ApplyForcedRTL();
|
||||
|
||||
@@ -246,7 +246,7 @@ class Browser : private WindowListObserver {
|
||||
#endif // BUILDFLAG(IS_MAC)
|
||||
|
||||
void ShowAboutPanel();
|
||||
void SetAboutPanelOptions(base::Value::Dict options);
|
||||
void SetAboutPanelOptions(base::DictValue options);
|
||||
|
||||
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
|
||||
void ShowEmojiPanel();
|
||||
@@ -306,7 +306,7 @@ class Browser : private WindowListObserver {
|
||||
|
||||
// Tell the application the loading has been done.
|
||||
void WillFinishLaunching();
|
||||
void DidFinishLaunching(base::Value::Dict launch_info);
|
||||
void DidFinishLaunching(base::DictValue launch_info);
|
||||
|
||||
void OnAccessibilitySupportChanged();
|
||||
|
||||
@@ -379,7 +379,7 @@ class Browser : private WindowListObserver {
|
||||
bool was_launched_at_login_;
|
||||
#endif
|
||||
|
||||
base::Value::Dict about_panel_options_;
|
||||
base::DictValue about_panel_options_;
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
void UpdateBadgeContents(HWND hwnd,
|
||||
|
||||
Reference in New Issue
Block a user