| Index: chrome/browser/ui/panels/panel_browser_view.cc
|
| diff --git a/chrome/browser/ui/panels/panel_browser_view.cc b/chrome/browser/ui/panels/panel_browser_view.cc
|
| index 6d372814b99b4c35ec4fe871d2f0fc1df7e90b31..9c279dc1e1a67f562a8929187c8a9c3396ef3b1b 100644
|
| --- a/chrome/browser/ui/panels/panel_browser_view.cc
|
| +++ b/chrome/browser/ui/panels/panel_browser_view.cc
|
| @@ -513,25 +513,6 @@ bool PanelBrowserView::EndDragging(bool cancelled) {
|
| return true;
|
| }
|
|
|
| -void PanelBrowserView::SetPanelAppIconVisibility(bool visible) {
|
| -#if defined(OS_WIN) && !defined(USE_AURA)
|
| - gfx::NativeWindow native_window = GetNativeHandle();
|
| - int style = ::GetWindowLong(native_window, GWL_EXSTYLE);
|
| - int new_style = style;
|
| - if (visible)
|
| - new_style &= (~WS_EX_TOOLWINDOW);
|
| - else
|
| - new_style |= WS_EX_TOOLWINDOW;
|
| - if (style != new_style) {
|
| - ::ShowWindow(native_window, SW_HIDE);
|
| - ::SetWindowLong(native_window, GWL_EXSTYLE, new_style);
|
| - ::ShowWindow(native_window, SW_SHOWNA);
|
| - }
|
| -#else
|
| - NOTIMPLEMENTED();
|
| -#endif
|
| -}
|
| -
|
| void PanelBrowserView::SetPanelAlwaysOnTop(bool on_top) {
|
| GetWidget()->SetAlwaysOnTop(on_top);
|
| GetWidget()->non_client_view()->Layout();
|
| @@ -545,6 +526,11 @@ bool PanelBrowserView::IsAnimatingBounds() const {
|
| void PanelBrowserView::EnableResizeByMouse(bool enable) {
|
| }
|
|
|
| +void PanelBrowserView::UpdatePanelMinimizeRestoreButtonVisibility() {
|
| + GetFrameView()->UpdateTitleBarMinimizeRestoreButtonVisibility();
|
| +}
|
| +
|
| +
|
| #if defined(OS_WIN) && !defined(USE_AURA)
|
| void PanelBrowserView::UpdateWindowAttribute(int attribute_index,
|
| int attribute_value,
|
|
|