Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view.h

Issue 10834079: views: Extract Widget observer into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/data_promo_notification.cc ('k') | chrome/browser/ui/panels/panel_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698