Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: chrome/common/extensions/api/feedback_private.idl

Issue 2295793002: feedback UI: use native window controls on Mac (Closed)
Patch Set: comment useSystemWindowFrame Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698