Chromium Code Reviews| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 // True if we have permission to add histograms to this feedback report. | 64 // True if we have permission to add histograms to this feedback report. |
| 65 boolean sendHistograms; | 65 boolean sendHistograms; |
| 66 | 66 |
| 67 // Optional feedback UI flow. Default is the regular user flow. | 67 // Optional feedback UI flow. Default is the regular user flow. |
| 68 FeedbackFlow? flow; | 68 FeedbackFlow? flow; |
| 69 | 69 |
| 70 // TODO(rkc): Remove these once we have bindings to send blobs to Chrome. | 70 // TODO(rkc): Remove these once we have bindings to send blobs to Chrome. |
| 71 // Used internally to store the blob uuid after parameter customization. | 71 // Used internally to store the blob uuid after parameter customization. |
| 72 DOMString? attachedFileBlobUuid; | 72 DOMString? attachedFileBlobUuid; |
| 73 DOMString? screenshotBlobUuid; | 73 DOMString? screenshotBlobUuid; |
| 74 | |
| 75 boolean useSystemWindowFrame; | |
|
afakhry
2016/08/30 16:27:04
Nit: Please add a comment.
| |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 // Status of the sending of a feedback report. | 78 // Status of the sending of a feedback report. |
| 77 enum Status {success, delayed}; | 79 enum Status {success, delayed}; |
| 78 | 80 |
| 79 // Result of presenting the user with a prompt to download SRT. | 81 // Result of presenting the user with a prompt to download SRT. |
| 80 enum SrtPromptResult { | 82 enum SrtPromptResult { |
| 81 // User clicked the "Learn More" button. | 83 // User clicked the "Learn More" button. |
| 82 accepted, | 84 accepted, |
| 83 | 85 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 }; | 118 }; |
| 117 | 119 |
| 118 interface Events { | 120 interface Events { |
| 119 // Fired when the a user requests the launch of the feedback UI. We're | 121 // Fired when the a user requests the launch of the feedback UI. We're |
| 120 // using an event for this versus using the override API since we want | 122 // using an event for this versus using the override API since we want |
| 121 // to be invoked, but not showing a UI, so the feedback extension can | 123 // to be invoked, but not showing a UI, so the feedback extension can |
| 122 // take a screenshot of the user's desktop. | 124 // take a screenshot of the user's desktop. |
| 123 static void onFeedbackRequested(FeedbackInfo feedback); | 125 static void onFeedbackRequested(FeedbackInfo feedback); |
| 124 }; | 126 }; |
| 125 }; | 127 }; |
| OLD | NEW |