| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_STATUS_STATUS_AREA_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ |
| 7 | 7 |
| 8 #include "gfx/native_widget_types.h" | 8 #include "gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // shown. | 30 // shown. |
| 31 virtual bool ShouldOpenButtonOptions( | 31 virtual bool ShouldOpenButtonOptions( |
| 32 const views::View* button_view) const = 0; | 32 const views::View* button_view) const = 0; |
| 33 | 33 |
| 34 // Opens options dialog related to the button specified. | 34 // Opens options dialog related to the button specified. |
| 35 virtual void OpenButtonOptions(const views::View* button_view) const = 0; | 35 virtual void OpenButtonOptions(const views::View* button_view) const = 0; |
| 36 | 36 |
| 37 // Indicates if the button specified should be visible at the moment. | 37 // Indicates if the button specified should be visible at the moment. |
| 38 virtual bool IsButtonVisible(const views::View* button_view) const = 0; | 38 virtual bool IsButtonVisible(const views::View* button_view) const = 0; |
| 39 | 39 |
| 40 // True if status area hosted in browser. Otherwise it's OOBE/login state. |
| 41 virtual bool IsBrowserMode() const = 0; |
| 42 |
| 40 protected: | 43 protected: |
| 41 virtual ~StatusAreaHost() {} | 44 virtual ~StatusAreaHost() {} |
| 42 }; | 45 }; |
| 43 | 46 |
| 44 } // namespace chromeos | 47 } // namespace chromeos |
| 45 | 48 |
| 46 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ | 49 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_HOST_H_ |
| 47 | 50 |
| OLD | NEW |