Merge pull request #1535 from deepak1556/contents_patch
webContents: adding serviceworker helper utilities
This commit is contained in:
commit
9300859983
3 changed files with 60 additions and 0 deletions
|
@ -64,6 +64,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