Do not disable detached devtools.
This commit is contained in:
parent
81eedd4faf
commit
f4aadcbbfc
2 changed files with 0 additions and 19 deletions
|
@ -569,22 +569,6 @@ void NativeWindow::Observe(int type,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NativeWindow::DevToolsSetDockSide(const std::string& dock_side,
|
|
||||||
bool* succeed) {
|
|
||||||
if (dock_side == "undocked") {
|
|
||||||
*succeed = false;
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool NativeWindow::DevToolsShow(std::string* dock_side) {
|
|
||||||
if (*dock_side == "undocked")
|
|
||||||
*dock_side = "bottom";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void NativeWindow::DevToolsSaveToFile(const std::string& url,
|
void NativeWindow::DevToolsSaveToFile(const std::string& url,
|
||||||
const std::string& content,
|
const std::string& content,
|
||||||
bool save_as) {
|
bool save_as) {
|
||||||
|
|
|
@ -242,9 +242,6 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
||||||
const content::NotificationDetails& details) OVERRIDE;
|
const content::NotificationDetails& details) OVERRIDE;
|
||||||
|
|
||||||
// Implementations of brightray::InspectableWebContentsDelegate.
|
// Implementations of brightray::InspectableWebContentsDelegate.
|
||||||
virtual bool DevToolsSetDockSide(const std::string& dock_side,
|
|
||||||
bool* succeed) OVERRIDE;
|
|
||||||
virtual bool DevToolsShow(std::string* dock_side) OVERRIDE;
|
|
||||||
virtual void DevToolsSaveToFile(const std::string& url,
|
virtual void DevToolsSaveToFile(const std::string& url,
|
||||||
const std::string& content,
|
const std::string& content,
|
||||||
bool save_as) OVERRIDE;
|
bool save_as) OVERRIDE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue