OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/ui/panels/native_panel.h" | 9 #include "chrome/browser/ui/panels/native_panel.h" |
10 #include "ui/gfx/animation/animation_delegate.h" | 10 #include "ui/gfx/animation/animation_delegate.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 // Overridden from views::WidgetDelegate: | 116 // Overridden from views::WidgetDelegate: |
117 virtual void OnDisplayChanged() OVERRIDE; | 117 virtual void OnDisplayChanged() OVERRIDE; |
118 virtual void OnWorkAreaChanged() OVERRIDE; | 118 virtual void OnWorkAreaChanged() OVERRIDE; |
119 virtual bool WillProcessWorkAreaChange() const OVERRIDE; | 119 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
120 virtual views::View* GetContentsView() OVERRIDE; | 120 virtual views::View* GetContentsView() OVERRIDE; |
121 virtual views::NonClientFrameView* CreateNonClientFrameView( | 121 virtual views::NonClientFrameView* CreateNonClientFrameView( |
122 views::Widget* widget) OVERRIDE; | 122 views::Widget* widget) OVERRIDE; |
123 virtual bool CanResize() const OVERRIDE; | 123 virtual bool CanResize() const OVERRIDE; |
124 virtual bool CanMaximize() const OVERRIDE; | 124 virtual bool CanMaximize() const OVERRIDE; |
| 125 virtual bool CanMinimize() const OVERRIDE; |
125 virtual views::Widget* GetWidget() OVERRIDE; | 126 virtual views::Widget* GetWidget() OVERRIDE; |
126 virtual const views::Widget* GetWidget() const OVERRIDE; | 127 virtual const views::Widget* GetWidget() const OVERRIDE; |
127 virtual base::string16 GetWindowTitle() const OVERRIDE; | 128 virtual base::string16 GetWindowTitle() const OVERRIDE; |
128 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; | 129 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; |
129 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 130 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
130 virtual void WindowClosing() OVERRIDE; | 131 virtual void WindowClosing() OVERRIDE; |
131 virtual void DeleteDelegate() OVERRIDE; | 132 virtual void DeleteDelegate() OVERRIDE; |
132 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; | 133 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; |
133 virtual void OnWindowEndUserBoundsChange() OVERRIDE; | 134 virtual void OnWindowEndUserBoundsChange() OVERRIDE; |
134 | 135 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 245 |
245 #if defined(OS_WIN) | 246 #if defined(OS_WIN) |
246 // Used to provide custom taskbar thumbnail for Windows 7 and later. | 247 // Used to provide custom taskbar thumbnail for Windows 7 and later. |
247 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; | 248 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; |
248 #endif | 249 #endif |
249 | 250 |
250 DISALLOW_COPY_AND_ASSIGN(PanelView); | 251 DISALLOW_COPY_AND_ASSIGN(PanelView); |
251 }; | 252 }; |
252 | 253 |
253 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ | 254 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_PANEL_VIEW_H_ |
OLD | NEW |