Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: ash/display/display_util.h

Issue 2138583002: Use output_all_resource_defines=false in most grd files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert ui_resources.grd for now Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698