| 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 GetSavedWindowPlacement( | 38 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; |
| 39 gfx::Rect* bounds, | 39 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE; |
| 40 ui::WindowShowState* show_state) const OVERRIDE; | |
| 41 | 40 |
| 42 // views::Widget::Observer overrides. | 41 // views::Widget::Observer overrides. |
| 43 virtual void OnWidgetActivationChanged(views::Widget* widget, | 42 virtual void OnWidgetActivationChanged(views::Widget* widget, |
| 44 bool active) OVERRIDE; | 43 bool active) OVERRIDE; |
| 45 | 44 |
| 46 // BrowserView : TabStripModelObserver overrides. | 45 // BrowserView : TabStripModelObserver overrides. |
| 47 virtual void TabChangedAt(TabContentsWrapper* contents, | 46 virtual void TabChangedAt(TabContentsWrapper* contents, |
| 48 int index, | 47 int index, |
| 49 TabChangeType change_type) OVERRIDE; | 48 TabChangeType change_type) OVERRIDE; |
| 50 | 49 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 70 // X id for the content window of the panel that created this | 69 // X id for the content window of the panel that created this |
| 71 // panel. This tells ChromeOS that it should be created next to the | 70 // panel. This tells ChromeOS that it should be created next to the |
| 72 // content window of this panel. | 71 // content window of this panel. |
| 73 XID creator_xid_; | 72 XID creator_xid_; |
| 74 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); | 73 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 } // namespace chromeos | 76 } // namespace chromeos |
| 78 | 77 |
| 79 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ | 78 #endif // CHROME_BROWSER_CHROMEOS_FRAME_PANEL_BROWSER_VIEW_H_ |
| OLD | NEW |