chore: modernize ListValue usage in dict_util.mm and related files (#34661)
* chore: modernize ListValue usage in dict_util.mm and related files * use base::Value::{Dict,List} instead of raw base::Value * fix compile * fix build * fix build again
This commit is contained in:
parent
cd19a741b1
commit
11924bdbb2
14 changed files with 106 additions and 107 deletions
|
@ -47,7 +47,7 @@ class BrowserObserver : public base::CheckedObserver {
|
|||
|
||||
// The browser has finished loading.
|
||||
virtual void OnWillFinishLaunching() {}
|
||||
virtual void OnFinishLaunching(const base::DictionaryValue& launch_info) {}
|
||||
virtual void OnFinishLaunching(base::Value::Dict launch_info) {}
|
||||
|
||||
// The browser's accessibility support has changed.
|
||||
virtual void OnAccessibilitySupportChanged() {}
|
||||
|
@ -70,17 +70,15 @@ class BrowserObserver : public base::CheckedObserver {
|
|||
// The browser wants to resume a user activity via handoff. (macOS only)
|
||||
virtual void OnContinueUserActivity(bool* prevent_default,
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info,
|
||||
const base::DictionaryValue& details) {}
|
||||
base::Value::Dict user_info,
|
||||
base::Value::Dict details) {}
|
||||
// The browser wants to notify that an user activity was resumed. (macOS only)
|
||||
virtual void OnUserActivityWasContinued(
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info) {}
|
||||
virtual void OnUserActivityWasContinued(const std::string& type,
|
||||
base::Value::Dict user_info) {}
|
||||
// The browser wants to update an user activity payload. (macOS only)
|
||||
virtual void OnUpdateUserActivityState(
|
||||
bool* prevent_default,
|
||||
const std::string& type,
|
||||
const base::DictionaryValue& user_info) {}
|
||||
virtual void OnUpdateUserActivityState(bool* prevent_default,
|
||||
const std::string& type,
|
||||
base::Value::Dict user_info) {}
|
||||
// User clicked the native macOS new tab button. (macOS only)
|
||||
virtual void OnNewWindowForTab() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue