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_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/frame/panel_controller.h" | 10 #include "chrome/browser/chromeos/frame/panel_controller.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // BrowserView overrides. | 29 // BrowserView overrides. |
30 virtual void Show() OVERRIDE; | 30 virtual void Show() OVERRIDE; |
31 virtual void ShowInactive() OVERRIDE; | 31 virtual void ShowInactive() OVERRIDE; |
32 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 32 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
33 virtual void Close() OVERRIDE; | 33 virtual void Close() OVERRIDE; |
34 virtual void FlashFrame() OVERRIDE; | 34 virtual void FlashFrame() OVERRIDE; |
35 virtual void UpdateTitleBar() OVERRIDE; | 35 virtual void UpdateTitleBar() OVERRIDE; |
36 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 36 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
37 const gfx::Rect& bounds) OVERRIDE; | 37 const gfx::Rect& bounds) OVERRIDE; |
38 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; | 38 virtual bool GetSavedWindowPlacement( |
39 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE; | 39 gfx::Rect* bounds, |
| 40 ui::WindowShowState* show_state) const OVERRIDE; |
40 | 41 |
41 // views::Widget::Observer overrides. | 42 // views::Widget::Observer overrides. |
42 virtual void OnWidgetActivationChanged(views::Widget* widget, | 43 virtual void OnWidgetActivationChanged(views::Widget* widget, |
43 bool active) OVERRIDE; | 44 bool active) OVERRIDE; |
44 | 45 |
45 // BrowserView : TabStripModelObserver overrides. | 46 // BrowserView : TabStripModelObserver overrides. |
46 virtual void TabChangedAt(TabContentsWrapper* contents, | 47 virtual void TabChangedAt(TabContentsWrapper* contents, |
47 int index, | 48 int index, |
48 TabChangeType change_type) OVERRIDE; | 49 TabChangeType change_type) OVERRIDE; |
49 | 50 |
(...skipping 19 matching lines...) Expand all Loading... |
69 // X id for the content window of the panel that created this | 70 // X id for the content window of the panel that created this |
70 // panel. This tells ChromeOS that it should be created next to the | 71 // panel. This tells ChromeOS that it should be created next to the |
71 // content window of this panel. | 72 // content window of this panel. |
72 XID creator_xid_; | 73 XID creator_xid_; |
73 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); | 74 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); |
74 }; | 75 }; |
75 | 76 |
76 } // namespace chromeos | 77 } // namespace chromeos |
77 | 78 |
78 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ | 79 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ |
OLD | NEW |