OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DISPLAY_DISPLAY_UTIL_H_ | 5 #ifndef ASH_DISPLAY_DISPLAY_UTIL_H_ |
6 #define ASH_DISPLAY_DISPLAY_UTIL_H_ | 6 #define ASH_DISPLAY_DISPLAY_UTIL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 const display::DisplayList& list); | 116 const display::DisplayList& list); |
117 | 117 |
118 ASH_EXPORT std::string DisplayIdListToString( | 118 ASH_EXPORT std::string DisplayIdListToString( |
119 const display::DisplayIdList& list); | 119 const display::DisplayIdList& list); |
120 | 120 |
121 // Returns true if one of following conditinos is met. | 121 // Returns true if one of following conditinos is met. |
122 // 1) id1 is internal. | 122 // 1) id1 is internal. |
123 // 2) output index of id1 < output index of id2 and id2 isn't internal. | 123 // 2) output index of id1 < output index of id2 and id2 isn't internal. |
124 ASH_EXPORT bool CompareDisplayIds(int64_t id1, int64_t id2); | 124 ASH_EXPORT bool CompareDisplayIds(int64_t id1, int64_t id2); |
125 | 125 |
| 126 #if defined(OS_CHROMEOS) |
126 // Shows the notification message for display related issues. | 127 // Shows the notification message for display related issues. |
127 void ShowDisplayErrorNotification(int message_id); | 128 void ShowDisplayErrorNotification(int message_id); |
| 129 #endif |
128 | 130 |
129 ASH_EXPORT base::string16 GetDisplayErrorNotificationMessageForTest(); | 131 ASH_EXPORT base::string16 GetDisplayErrorNotificationMessageForTest(); |
130 | 132 |
131 } // namespace ash | 133 } // namespace ash |
132 | 134 |
133 #endif // ASH_DISPLAY_DISPLAY_UTIL_H_ | 135 #endif // ASH_DISPLAY_DISPLAY_UTIL_H_ |
OLD | NEW |