linux: Add a way to set WM_CLASS for devtools window
This commit is contained in:
parent
601ee75bcf
commit
06eff5cd8c
2 changed files with 14 additions and 0 deletions
|
@ -19,6 +19,12 @@ class InspectableWebContentsDelegate {
|
|||
const std::string& url, const std::string& content, bool save_as) {}
|
||||
virtual void DevToolsAppendToFile(
|
||||
const std::string& url, const std::string& content) {}
|
||||
|
||||
#if defined(USE_X11)
|
||||
// Called when creating devtools window.
|
||||
virtual void GetDevToolsWindowWMClass(
|
||||
std::string* name, std::string* class_name) {}
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue