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