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

Side by Side Diff: client/samples/swarm/ConfigHintDialog.dart

Issue 9314024: Final CL to kill off client/samples . (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 | « client/samples/swarm/CannedData.dart ('k') | client/samples/swarm/Dart_Logo_21.png » ('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 (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 /** A placeholder dialog that just passes the buck to Reader on feed
6 configuration. */
7 class ConfigHintDialog extends DialogView {
8 CompositeView _parent;
9 Function _doneHandler;
10
11 factory ConfigHintDialog(CompositeView parent, Function doneHandler) {
12 View content = ConfigHintDialog.makeContent();
13 return new ConfigHintDialog._impl(parent, doneHandler, content);
14 }
15
16 ConfigHintDialog._impl(this._parent, this._doneHandler, View content)
17 : super('Feed configuration', '', content);
18
19 void onDone() { _doneHandler(); }
20
21 static View makeContent() {
22 return new View.html(
23 '''
24 <div>
25 Add or remove feeds in
26 <a href="https://www.google.com/reader" target="_blank">
27 Google Reader</a>'s "Subscriptions".
28 Then come back here and click "Done" and we'll load your updated
29 list of subscriptions.
30 </div>
31 ''');
32 }
33 }
OLDNEW
« no previous file with comments | « client/samples/swarm/CannedData.dart ('k') | client/samples/swarm/Dart_Logo_21.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698