linux: Set WM_CLASS for devtools window

This commit is contained in:
Cheng Zhao 2014-11-24 16:04:41 +08:00
parent 172c55d194
commit cd5007cfa1
3 changed files with 13 additions and 1 deletions

View file

@ -113,6 +113,10 @@ class NativeWindowViews : public NativeWindow,
// brightray::InspectableWebContentsDelegate:
gfx::ImageSkia GetDevToolsWindowIcon() override;
#if defined(USE_X11)
void GetDevToolsWindowWMClass(
std::string* name, std::string* class_name) override;
#endif
// content::WebContentsDelegate:
void HandleMouseDown() override;