| 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 [use_movable_types=true] 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 }; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 interface Events { | 98 interface Events { |
| 99 // Fired when the a user requests the launch of the feedback UI. We're | 99 // Fired when the a user requests the launch of the feedback UI. We're |
| 100 // using an event for this versus using the override API since we want | 100 // using an event for this versus using the override API since we want |
| 101 // to be invoked, but not showing a UI, so the feedback extension can | 101 // to be invoked, but not showing a UI, so the feedback extension can |
| 102 // take a screenshot of the user's desktop. | 102 // take a screenshot of the user's desktop. |
| 103 static void onFeedbackRequested(FeedbackInfo feedback); | 103 static void onFeedbackRequested(FeedbackInfo feedback); |
| 104 }; | 104 }; |
| 105 }; | 105 }; |
| OLD | NEW |