OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ | 5 #ifndef ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ |
6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ | 6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 // Returns bounds of system tray bubble. You must open bubble before calling | 65 // Returns bounds of system tray bubble. You must open bubble before calling |
66 // this method. | 66 // this method. |
67 virtual gfx::Rect GetTrayBubbleBounds() = 0; | 67 virtual gfx::Rect GetTrayBubbleBounds() = 0; |
68 | 68 |
69 // Returns bounds of help app button from system tray buble. You must open | 69 // Returns bounds of help app button from system tray buble. You must open |
70 // bubble before calling this method. | 70 // bubble before calling this method. |
71 virtual gfx::Rect GetHelpButtonBounds() = 0; | 71 virtual gfx::Rect GetHelpButtonBounds() = 0; |
72 | 72 |
73 protected: | 73 protected: |
74 ObserverList<Observer>& observers() { return observers_; } | 74 base::ObserverList<Observer>& observers() { return observers_; } |
75 | 75 |
76 private: | 76 private: |
77 ObserverList<Observer> observers_; | 77 base::ObserverList<Observer> observers_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(FirstRunHelper); | 79 DISALLOW_COPY_AND_ASSIGN(FirstRunHelper); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace ash | 82 } // namespace ash |
83 | 83 |
84 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ | 84 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_H_ |
85 | 85 |
OLD | NEW |