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 // A private API for accessing feedback reports sent by a user. |
5 namespace feedbackPrivate { | 6 namespace feedbackPrivate { |
6 | 7 |
7 dictionary AttachedFile { | 8 dictionary AttachedFile { |
8 DOMString name; | 9 DOMString name; |
9 [instanceOf=Blob] object data; | 10 [instanceOf=Blob] object data; |
10 }; | 11 }; |
11 | 12 |
12 dictionary SystemInformation { | 13 dictionary SystemInformation { |
13 DOMString key; | 14 DOMString key; |
14 DOMString value; | 15 DOMString value; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 }; | 70 }; |
70 | 71 |
71 interface Events { | 72 interface Events { |
72 // Fired when the a user requests the launch of the feedback UI. We're | 73 // Fired when the a user requests the launch of the feedback UI. We're |
73 // using an event for this versus using the override API since we want | 74 // using an event for this versus using the override API since we want |
74 // to be invoked, but not showing a UI, so the feedback extension can | 75 // to be invoked, but not showing a UI, so the feedback extension can |
75 // take a screenshot of the user's desktop. | 76 // take a screenshot of the user's desktop. |
76 static void onFeedbackRequested(FeedbackInfo feedback); | 77 static void onFeedbackRequested(FeedbackInfo feedback); |
77 }; | 78 }; |
78 }; | 79 }; |
OLD | NEW |