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

Side by Side Diff: chrome/browser/chromeos/ui/echo_dialog_listener.h

Issue 12317109: Add a dialog for getting user consent in the echo redeem flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/ui/echo_dialog_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_LISTENER_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_LISTENER_H_
7
8 namespace chromeos {
9
10 // A listener interface for the EchoDialog, so an interested party can be
11 // notified about changes to the dialog. It is provided during EchoDialog
12 // construction.
13 class EchoDialogListener {
14 public:
15 // Called when the EchoDialog is accepted. After call to this method, the
16 // listener will not be invoked again.
17 virtual void OnAccept() = 0;
18
19 // Called when the EchoDialog is canceled. After call to this method, the
20 // listener will not be invoked again.
21 virtual void OnCancel() = 0;
22
23 // Called when a link in the EchoDialog is clicked.
24 virtual void OnMoreInfoLinkClicked() = 0;
25
26 protected:
27 virtual ~EchoDialogListener() {}
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_LISTENER_H_
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/ui/echo_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698