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_PANELS_PANEL_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/ui/panels/native_panel.h" | 10 #include "chrome/browser/ui/panels/native_panel.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const content::NotificationSource& source, | 77 const content::NotificationSource& source, |
78 const content::NotificationDetails& details) OVERRIDE; | 78 const content::NotificationDetails& details) OVERRIDE; |
79 | 79 |
80 // Overridden from views::WidgetDelegate: | 80 // Overridden from views::WidgetDelegate: |
81 virtual void OnDisplayChanged() OVERRIDE; | 81 virtual void OnDisplayChanged() OVERRIDE; |
82 virtual void OnWorkAreaChanged() OVERRIDE; | 82 virtual void OnWorkAreaChanged() OVERRIDE; |
83 virtual bool WillProcessWorkAreaChange() const OVERRIDE; | 83 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
84 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; | 84 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; |
85 virtual void OnWindowEndUserBoundsChange() OVERRIDE; | 85 virtual void OnWindowEndUserBoundsChange() OVERRIDE; |
86 | 86 |
87 // Overridden from views::Widget::Observer | 87 // Overridden from views::WidgetObserver: |
88 virtual void OnWidgetActivationChanged(views::Widget* widget, | 88 virtual void OnWidgetActivationChanged(views::Widget* widget, |
89 bool active) OVERRIDE; | 89 bool active) OVERRIDE; |
90 | 90 |
91 // Overridden from NativePanel: | 91 // Overridden from NativePanel: |
92 virtual void ShowPanel() OVERRIDE; | 92 virtual void ShowPanel() OVERRIDE; |
93 virtual void ShowPanelInactive() OVERRIDE; | 93 virtual void ShowPanelInactive() OVERRIDE; |
94 virtual gfx::Rect GetPanelBounds() const OVERRIDE; | 94 virtual gfx::Rect GetPanelBounds() const OVERRIDE; |
95 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; | 95 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; |
96 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; | 96 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; |
97 virtual void ClosePanel() OVERRIDE; | 97 virtual void ClosePanel() OVERRIDE; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA) | 195 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA) |
196 // Used to provide custom taskbar thumbnail for Windows 7 and later. | 196 // Used to provide custom taskbar thumbnail for Windows 7 and later. |
197 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; | 197 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; |
198 #endif | 198 #endif |
199 | 199 |
200 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); | 200 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); |
201 }; | 201 }; |
202 | 202 |
203 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 203 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
OLD | NEW |