views: Set devtools window's icon, fixes #429.
This commit is contained in:
parent
700510d63a
commit
bda317b000
3 changed files with 8 additions and 1 deletions
|
@ -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
|
@ -1 +1 @@
|
|||
Subproject commit dafc85799ca31e3ddd7b5d0cc0ef7fbf38dcf88f
|
||||
Subproject commit a108f0b10be6c0058b03ba8e89addf6ea8289b7e
|
Loading…
Add table
Add a link
Reference in a new issue