Add device emulation API
This commit is contained in:
parent
1348e18a81
commit
6b875110ed
3 changed files with 125 additions and 0 deletions
|
@ -74,6 +74,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void CloseDevTools();
|
||||
bool IsDevToolsOpened();
|
||||
void ToggleDevTools();
|
||||
void EnableDeviceEmulation(const base::DictionaryValue&);
|
||||
void DisableDeviceEmulation();
|
||||
void InspectElement(int x, int y);
|
||||
void InspectServiceWorker();
|
||||
v8::Local<v8::Value> Session(v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue