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

Side by Side Diff: dart/samples/swarm/SwarmViews.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « dart/samples/swarm/SwarmState.dart ('k') | dart/samples/swarm/UIState.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of swarmlib;
2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 // TODO(jacobr): there is a lot of dead code in this class. Checking is as is 5 // TODO(jacobr): there is a lot of dead code in this class. Checking is as is
8 // and then doing a large pass to remove functionality that doesn't make sense 6 // and then doing a large pass to remove functionality that doesn't make sense
9 // given the UI layout. 7 // given the UI layout.
10 8
11 /** 9 /**
12 * Front page of Swarm. 10 * Front page of Swarm.
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 * [Feed]. 966 * [Feed].
969 */ 967 */
970 DataSourceView findView(Feed dataSource) { 968 DataSourceView findView(Feed dataSource) {
971 return dataSourceView.getSubview(dataSourceView.findIndex(dataSource)); 969 return dataSourceView.getSubview(dataSourceView.findIndex(dataSource));
972 } 970 }
973 971
974 bool inCurrentView(Article article) { 972 bool inCurrentView(Article article) {
975 return dataSourceView.findIndex(article.dataSource) != null; 973 return dataSourceView.findIndex(article.dataSource) != null;
976 } 974 }
977 } 975 }
OLDNEW
« no previous file with comments | « dart/samples/swarm/SwarmState.dart ('k') | dart/samples/swarm/UIState.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698