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

Side by Side Diff: samples/pop-pop-win/lib/platform_target.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
1 library ppw_platform; 1 library ppw_platform;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 4
5 abstract class PlatformTarget { 5 abstract class PlatformTarget {
6 bool _initialized = false; 6 bool _initialized = false;
7 7
8 factory PlatformTarget() => new _DefaultPlatform(); 8 factory PlatformTarget() => new _DefaultPlatform();
9 9
10 PlatformTarget.base(); 10 PlatformTarget.base();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 value = !_about; 62 value = !_about;
63 } 63 }
64 _about = value; 64 _about = value;
65 _aboutController.add(null); 65 _aboutController.add(null);
66 } 66 }
67 67
68 bool get showAbout => _about; 68 bool get showAbout => _about;
69 69
70 Stream get aboutChanged => _aboutController.stream; 70 Stream get aboutChanged => _aboutController.stream;
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698