Add API to get whether the devtools is opened.
This commit is contained in:
parent
afc627aae1
commit
de7892cd6e
10 changed files with 24 additions and 2 deletions
|
@ -57,6 +57,10 @@ void InspectableWebContentsViewWin::CloseDevTools() {
|
|||
SendMessage(devtools_window_->hwnd(), WM_CLOSE, 0, 0);
|
||||
}
|
||||
|
||||
bool InspectableWebContentsViewWin::IsDevToolsOpened() {
|
||||
return devtools_window_;
|
||||
}
|
||||
|
||||
bool InspectableWebContentsViewWin::SetDockSide(const std::string& side) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ class InspectableWebContentsViewWin : public InspectableWebContentsView {
|
|||
virtual gfx::NativeView GetNativeView() const OVERRIDE;
|
||||
virtual void ShowDevTools() OVERRIDE;
|
||||
virtual void CloseDevTools() OVERRIDE;
|
||||
virtual bool IsDevToolsOpened() OVERRIDE;
|
||||
virtual bool SetDockSide(const std::string& side) OVERRIDE;
|
||||
|
||||
InspectableWebContentsImpl* inspectable_web_contents() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue