| 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_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/chromeos/status/status_area_button.h" | 10 #include "chrome/browser/chromeos/status/status_area_button.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 // Instantiates and sets |status_area_view_|, and sets it as the contents of | 38 // Instantiates and sets |status_area_view_|, and sets it as the contents of |
| 39 // a new views::Widget |status_area_widget_| which is returned. | 39 // a new views::Widget |status_area_widget_| which is returned. |
| 40 // The caller is expected to take ownership of |status_area_widget_|. | 40 // The caller is expected to take ownership of |status_area_widget_|. |
| 41 views::Widget* CreateStatusArea(); | 41 views::Widget* CreateStatusArea(); |
| 42 | 42 |
| 43 // StatusAreaButton::Delegate implementation. | 43 // StatusAreaButton::Delegate implementation. |
| 44 virtual bool ShouldExecuteStatusAreaCommand( | 44 virtual bool ShouldExecuteStatusAreaCommand( |
| 45 const views::View* button_view, int command_id) const OVERRIDE; | 45 const views::View* button_view, int command_id) const OVERRIDE; |
| 46 virtual void ExecuteStatusAreaCommand( | 46 virtual void ExecuteStatusAreaCommand( |
| 47 const views::View* button_view, int command_id) OVERRIDE; | 47 const views::View* button_view, int command_id) OVERRIDE; |
| 48 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE; | |
| 49 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; | 48 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; |
| 50 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 49 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
| 51 | 50 |
| 52 // BrowserList::Observer implementation. | 51 // BrowserList::Observer implementation. |
| 53 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 52 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; |
| 54 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 53 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; |
| 55 virtual void OnBrowserSetLastActive(const Browser* browser) OVERRIDE; | 54 virtual void OnBrowserSetLastActive(const Browser* browser) OVERRIDE; |
| 56 | 55 |
| 57 // content::NotificationObserver implementation. | 56 // content::NotificationObserver implementation. |
| 58 virtual void Observe(int type, | 57 virtual void Observe(int type, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 71 | 70 |
| 72 scoped_ptr<ClockUpdater> clock_updater_; | 71 scoped_ptr<ClockUpdater> clock_updater_; |
| 73 #endif | 72 #endif |
| 74 | 73 |
| 75 content::NotificationRegistrar registrar_; | 74 content::NotificationRegistrar registrar_; |
| 76 | 75 |
| 77 DISALLOW_COPY_AND_ASSIGN(StatusAreaHostAura); | 76 DISALLOW_COPY_AND_ASSIGN(StatusAreaHostAura); |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 #endif // CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ | 79 #endif // CHROME_BROWSER_UI_VIEWS_AURA_STATUS_AREA_HOST_AURA_H_ |
| OLD | NEW |