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

Side by Side Diff: remoting/android/java/src/org/chromium/chromoting/help/HelpAndFeedback.java

Issue 2376203003: [Remoting Android] use HelpAndFeedback.launchFeedback to launch the feedback activity (Closed)
Patch Set: Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 package org.chromium.chromoting.help; 5 package org.chromium.chromoting.help;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 8
9 /** Common interface for help-and-feedback implementations. */ 9 /** Common interface for help-and-feedback implementations. */
10 public interface HelpAndFeedback { 10 public interface HelpAndFeedback {
11 /** 11 /**
12 * Launches a new activity for displaying a Help screen. The implementation will show 12 * Launches a new activity for displaying a Help screen. The implementation will show
13 * information depending on the context, and will allow the user to submit a Feedback 13 * information depending on the context, and will allow the user to submit a Feedback
14 * report. The implementation may also grab a screenshot, so the caller shou ld take 14 * report. The implementation may also grab a screenshot, so the caller shou ld take
15 * any steps to prepare the display before calling this method (for example, closing 15 * any steps to prepare the display before calling this method (for example, closing
16 * navigation drawers). 16 * navigation drawers).
17 * @param activity Parent activity of the Help screen. 17 * @param activity Parent activity of the Help screen.
18 * @param helpContext String used by the implementation to show context-base d help. 18 * @param helpContext String used by the implementation to show context-base d help.
19 */ 19 */
20 void launchHelp(Activity activity, HelpContext helpContext); 20 void launchHelp(Activity activity, HelpContext helpContext);
21
22 /**
23 * Launches a new activity for displaying the feedback screen. The implement ation may grab
24 * a screenshot.
25 * @param activity Parent activity of the feedback screen.
26 */
27 void launchFeedback(Activity activity);
21 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698