Remove devtools APIs from NativeWindow
This commit is contained in:
parent
94d69777fa
commit
05468cc3fa
12 changed files with 118 additions and 128 deletions
|
@ -22,6 +22,7 @@ class InspectableWebContents;
|
|||
}
|
||||
|
||||
namespace mate {
|
||||
class Arguments;
|
||||
class Dictionary;
|
||||
}
|
||||
|
||||
|
@ -78,9 +79,10 @@ class WebContents : public mate::EventEmitter,
|
|||
void SetUserAgent(const std::string& user_agent);
|
||||
void InsertCSS(const std::string& css);
|
||||
void ExecuteJavaScript(const base::string16& code);
|
||||
void OpenDevTools();
|
||||
void OpenDevTools(mate::Arguments* args);
|
||||
void CloseDevTools();
|
||||
bool IsDevToolsOpened();
|
||||
void ToggleDevTools();
|
||||
void InspectElement(int x, int y);
|
||||
void InspectServiceWorker();
|
||||
void HasServiceWorker(const base::Callback<void(bool)>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue