| 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; |
| 11 [instanceOf=Blob] object data; | 11 [instanceOf=Blob] object? data; |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 dictionary SystemInformation { | 14 dictionary SystemInformation { |
| 15 DOMString key; | 15 DOMString key; |
| 16 DOMString value; | 16 DOMString value; |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 dictionary FeedbackInfo { | 19 dictionary FeedbackInfo { |
| 20 // File to attach to the feedback report. | 20 // File to attach to the feedback report. |
| 21 AttachedFile? attachedFile; | 21 AttachedFile? attachedFile; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 interface Events { | 78 interface Events { |
| 79 // Fired when the a user requests the launch of the feedback UI. We're | 79 // Fired when the a user requests the launch of the feedback UI. We're |
| 80 // using an event for this versus using the override API since we want | 80 // using an event for this versus using the override API since we want |
| 81 // to be invoked, but not showing a UI, so the feedback extension can | 81 // to be invoked, but not showing a UI, so the feedback extension can |
| 82 // take a screenshot of the user's desktop. | 82 // take a screenshot of the user's desktop. |
| 83 static void onFeedbackRequested(FeedbackInfo feedback); | 83 static void onFeedbackRequested(FeedbackInfo feedback); |
| 84 }; | 84 }; |
| 85 }; | 85 }; |
| OLD | NEW |