webContents: adding serviceworker helper utilities
This commit is contained in:
parent
ea74e825c9
commit
d76bd4a103
3 changed files with 60 additions and 0 deletions
|
@ -63,6 +63,8 @@ class WebContents : public mate::EventEmitter,
|
|||
void CloseDevTools();
|
||||
bool IsDevToolsOpened();
|
||||
void InspectElement(int x, int y);
|
||||
void HasServiceWorker(const base::Callback<void(bool)>&);
|
||||
void UnregisterServiceWorker(const base::Callback<void(bool)>&);
|
||||
|
||||
// Editing commands.
|
||||
void Undo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue