chore: modernize some devtools code using deprecated ListValue (#34655)
This commit is contained in:
parent
7c12baccab
commit
4ddd03b1b3
3 changed files with 100 additions and 112 deletions
|
@ -70,10 +70,13 @@ class InspectableWebContents
|
|||
bool IsDevToolsViewShowing();
|
||||
void AttachTo(scoped_refptr<content::DevToolsAgentHost>);
|
||||
void Detach();
|
||||
void CallClientFunction(const std::string& function_name,
|
||||
const base::Value* arg1,
|
||||
const base::Value* arg2,
|
||||
const base::Value* arg3);
|
||||
void CallClientFunction(
|
||||
const std::string& object_name,
|
||||
const std::string& method_name,
|
||||
const base::Value arg1 = {},
|
||||
const base::Value arg2 = {},
|
||||
const base::Value arg3 = {},
|
||||
base::OnceCallback<void(base::Value)> cb = base::NullCallback());
|
||||
void InspectElement(int x, int y);
|
||||
|
||||
// Return the last position and size of devtools window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue