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 // Use the <code>chrome.feedbackPrivate</code> API to provide Chrome [OS] | 5 // Use the <code>chrome.feedbackPrivate</code> API to provide Chrome [OS] |
6 // feedback to the Google Feedback servers. | 6 // feedback to the Google Feedback servers. |
7 namespace feedbackPrivate { | 7 namespace feedbackPrivate { |
8 | 8 |
9 dictionary AttachedFile { | 9 dictionary AttachedFile { |
10 DOMString name; | 10 DOMString name; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 // User closed the window altogether. | 94 // User closed the window altogether. |
95 closed | 95 closed |
96 }; | 96 }; |
97 | 97 |
98 // Allowed log sources on Chrome OS. | 98 // Allowed log sources on Chrome OS. |
99 enum LogSource { | 99 enum LogSource { |
100 // Chrome OS system messages. | 100 // Chrome OS system messages. |
101 messages, | 101 messages, |
102 | 102 |
103 // Latest Chrome OS UI logs. | 103 // Latest Chrome OS UI logs. |
104 uiLatest | 104 uiLatest, |
105 | |
106 // USB device list and connectivity graph. | |
107 lsusb, | |
108 | |
109 // Info about display connectors and connected displays. | |
110 modetest | |
tbarzic
2017/07/10 21:51:18
this name seems very generic. Maybe something like
Simon Que
2017/07/11 17:07:43
Done.
| |
105 }; | 111 }; |
106 | 112 |
107 // Input parameters for a readLogSource() call. | 113 // Input parameters for a readLogSource() call. |
108 dictionary ReadLogSourceParams { | 114 dictionary ReadLogSourceParams { |
109 // The log source from which to read. | 115 // The log source from which to read. |
110 LogSource source; | 116 LogSource source; |
111 | 117 |
112 // For file-based log sources, read from source without closing the file | 118 // For file-based log sources, read from source without closing the file |
113 // handle. The next time $(ref:readLogSource) is called, the file read will | 119 // handle. The next time $(ref:readLogSource) is called, the file read will |
114 // continue where it left off. $(ref:readLogSource) can be called with | 120 // continue where it left off. $(ref:readLogSource) can be called with |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
196 }; | 202 }; |
197 | 203 |
198 interface Events { | 204 interface Events { |
199 // Fired when the a user requests the launch of the feedback UI. We're | 205 // Fired when the a user requests the launch of the feedback UI. We're |
200 // using an event for this versus using the override API since we want | 206 // using an event for this versus using the override API since we want |
201 // to be invoked, but not showing a UI, so the feedback extension can | 207 // to be invoked, but not showing a UI, so the feedback extension can |
202 // take a screenshot of the user's desktop. | 208 // take a screenshot of the user's desktop. |
203 static void onFeedbackRequested(FeedbackInfo feedback); | 209 static void onFeedbackRequested(FeedbackInfo feedback); |
204 }; | 210 }; |
205 }; | 211 }; |
OLD | NEW |