OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual bool WillProcessWorkAreaChange() const OVERRIDE; | 71 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
72 | 72 |
73 // Overridden from views::Widget::Observer | 73 // Overridden from views::Widget::Observer |
74 virtual void OnWidgetActivationChanged(views::Widget* widget, | 74 virtual void OnWidgetActivationChanged(views::Widget* widget, |
75 bool active) OVERRIDE; | 75 bool active) OVERRIDE; |
76 | 76 |
77 // Overridden from NativePanel: | 77 // Overridden from NativePanel: |
78 virtual void ShowPanel() OVERRIDE; | 78 virtual void ShowPanel() OVERRIDE; |
79 virtual void ShowPanelInactive() OVERRIDE; | 79 virtual void ShowPanelInactive() OVERRIDE; |
80 virtual gfx::Rect GetPanelBounds() const OVERRIDE; | 80 virtual gfx::Rect GetPanelBounds() const OVERRIDE; |
81 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; | 81 virtual void SetPanelBounds(const gfx::Rect& bounds, bool animate) OVERRIDE; |
82 virtual void ClosePanel() OVERRIDE; | 82 virtual void ClosePanel() OVERRIDE; |
83 virtual void ActivatePanel() OVERRIDE; | 83 virtual void ActivatePanel() OVERRIDE; |
84 virtual void DeactivatePanel() OVERRIDE; | 84 virtual void DeactivatePanel() OVERRIDE; |
85 virtual bool IsPanelActive() const OVERRIDE; | 85 virtual bool IsPanelActive() const OVERRIDE; |
86 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; | 86 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; |
87 virtual void UpdatePanelTitleBar() OVERRIDE; | 87 virtual void UpdatePanelTitleBar() OVERRIDE; |
88 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; | 88 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; |
89 virtual void ShowTaskManagerForPanel() OVERRIDE; | 89 virtual void ShowTaskManagerForPanel() OVERRIDE; |
90 virtual FindBar* CreatePanelFindBar() OVERRIDE; | 90 virtual FindBar* CreatePanelFindBar() OVERRIDE; |
91 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; | 91 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 base::TimeTicks attention_cleared_time_; | 151 base::TimeTicks attention_cleared_time_; |
152 | 152 |
153 // The last view that had focus in the panel. This is saved so that focus can | 153 // The last view that had focus in the panel. This is saved so that focus can |
154 // be restored properly when a drag ends. | 154 // be restored properly when a drag ends. |
155 views::View* old_focused_view_; | 155 views::View* old_focused_view_; |
156 | 156 |
157 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); | 157 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); |
158 }; | 158 }; |
159 | 159 |
160 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ | 160 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ |
OLD | NEW |