| 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 // Whether to use the system-provided window frame or custom frame controls. |
| 76 boolean useSystemWindowFrame; |
| 74 }; | 77 }; |
| 75 | 78 |
| 76 // Status of the sending of a feedback report. | 79 // Status of the sending of a feedback report. |
| 77 enum Status {success, delayed}; | 80 enum Status {success, delayed}; |
| 78 | 81 |
| 79 // Result of presenting the user with a prompt to download SRT. | 82 // Result of presenting the user with a prompt to download SRT. |
| 80 enum SrtPromptResult { | 83 enum SrtPromptResult { |
| 81 // User clicked the "Learn More" button. | 84 // User clicked the "Learn More" button. |
| 82 accepted, | 85 accepted, |
| 83 | 86 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 }; | 119 }; |
| 117 | 120 |
| 118 interface Events { | 121 interface Events { |
| 119 // Fired when the a user requests the launch of the feedback UI. We're | 122 // 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 | 123 // 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 | 124 // to be invoked, but not showing a UI, so the feedback extension can |
| 122 // take a screenshot of the user's desktop. | 125 // take a screenshot of the user's desktop. |
| 123 static void onFeedbackRequested(FeedbackInfo feedback); | 126 static void onFeedbackRequested(FeedbackInfo feedback); |
| 124 }; | 127 }; |
| 125 }; | 128 }; |
| OLD | NEW |