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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ | 6 #define CHROME_BROWSER_UI_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/base/animation/animation_delegate.h" | 10 #include "ui/base/animation/animation_delegate.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 private: | 101 private: |
102 enum MouseDraggingState { | 102 enum MouseDraggingState { |
103 NO_DRAGGING, | 103 NO_DRAGGING, |
104 DRAGGING_STARTED, | 104 DRAGGING_STARTED, |
105 DRAGGING_ENDED | 105 DRAGGING_ENDED |
106 }; | 106 }; |
107 | 107 |
108 // Overridden from views::WidgetDelegate: | 108 // Overridden from views::WidgetDelegate: |
109 virtual void OnDisplayChanged() OVERRIDE; | 109 virtual void OnDisplayChanged() OVERRIDE; |
110 virtual void OnWorkAreaChanged() OVERRIDE; | 110 virtual void OnWorkAreaChanged() OVERRIDE; |
111 virtual bool WillProcessWorkAreaChange() const; | 111 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
112 virtual views::View* GetContentsView() OVERRIDE; | 112 virtual views::View* GetContentsView() OVERRIDE; |
113 virtual views::NonClientFrameView* CreateNonClientFrameView( | 113 virtual views::NonClientFrameView* CreateNonClientFrameView( |
114 views::Widget* widget) OVERRIDE; | 114 views::Widget* widget) OVERRIDE; |
115 virtual bool CanResize() const OVERRIDE; | 115 virtual bool CanResize() const OVERRIDE; |
116 virtual bool CanMaximize() const OVERRIDE; | 116 virtual bool CanMaximize() const OVERRIDE; |
117 virtual views::Widget* GetWidget() OVERRIDE; | 117 virtual views::Widget* GetWidget() OVERRIDE; |
118 virtual const views::Widget* GetWidget() const OVERRIDE; | 118 virtual const views::Widget* GetWidget() const OVERRIDE; |
119 virtual string16 GetWindowTitle() const OVERRIDE; | 119 virtual string16 GetWindowTitle() const OVERRIDE; |
120 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 120 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
121 virtual void DeleteDelegate() OVERRIDE; | 121 virtual void DeleteDelegate() OVERRIDE; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA) | 194 #if defined(OS_WIN) && !defined(USE_ASH) && !defined(USE_AURA) |
195 // Used to provide custom taskbar thumbnail for Windows 7 and later. | 195 // Used to provide custom taskbar thumbnail for Windows 7 and later. |
196 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; | 196 scoped_ptr<TaskbarWindowThumbnailerWin> thumbnailer_; |
197 #endif | 197 #endif |
198 | 198 |
199 DISALLOW_COPY_AND_ASSIGN(PanelView); | 199 DISALLOW_COPY_AND_ASSIGN(PanelView); |
200 }; | 200 }; |
201 | 201 |
202 #endif // CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ | 202 #endif // CHROME_BROWSER_UI_PANELS_PANEL_VIEW_H_ |
OLD | NEW |