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

Side by Side Diff: chrome/browser/ui/echo_dialog_listener_chromeos.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: forgot to add echo_dialog_listener file 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
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_UI_ECHO_DIALOG_LISTENER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ECHO_DIALOG_LISTENER_CHROMEOS_H_
7
8 // A listener interface for the EchoDialog, so an interested party can be
9 // notified about changes to the dialog. It is provided during EchoDialog
10 // construction.
11 class EchoDialogListener {
12 public:
13 // Called when the EchoDialog is accepted. After call to this method, the
14 // listener will not be invoked again.
15 virtual void OnAccept() = 0;
16
17 // Called when the EchoDialog is canceled. After call to this method, the
18 // listener will not be invoked again.
19 virtual void OnCancel() = 0;
20
21 // Called when a link in the EchoDialog is clicked.
22 virtual void OnMoreInfoLinkClicked() = 0;
23
24 protected:
25 virtual ~EchoDialogListener() {}
26 };
27
28 #endif // CHROME_BROWSER_UI_ECHO_DIALOG_LISTENER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698