mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
views: Set devtools window's icon, fixes #429.
This commit is contained in:
@@ -613,6 +613,10 @@ views::NonClientFrameView* NativeWindowViews::CreateNonClientFrameView(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
gfx::ImageSkia NativeWindowViews::GetDevToolsWindowIcon() {
|
||||
return GetWindowAppIcon();
|
||||
}
|
||||
|
||||
void NativeWindowViews::HandleMouseDown() {
|
||||
// Hide menu bar when web view is clicked.
|
||||
if (menu_bar_autohide_ && menu_bar_visible_) {
|
||||
|
||||
@@ -105,6 +105,9 @@ class NativeWindowViews : public NativeWindow,
|
||||
virtual views::NonClientFrameView* CreateNonClientFrameView(
|
||||
views::Widget* widget) OVERRIDE;
|
||||
|
||||
// brightray::InspectableWebContentsDelegate:
|
||||
virtual gfx::ImageSkia GetDevToolsWindowIcon() OVERRIDE;
|
||||
|
||||
// content::WebContentsDelegate:
|
||||
virtual void HandleMouseDown() OVERRIDE;
|
||||
virtual void HandleKeyboardEvent(
|
||||
|
||||
2
vendor/brightray
vendored
2
vendor/brightray
vendored
Submodule vendor/brightray updated: dafc85799c...a108f0b10b
Reference in New Issue
Block a user