Add device emulation API

This commit is contained in:
Gohy Leandre 2015-08-31 11:19:19 +02:00
parent 1348e18a81
commit 6b875110ed
3 changed files with 125 additions and 0 deletions

View file

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