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

Unified Diff: lib/src/info.dart

Issue 22962005: Merge pull request #581 from kevmoo/polymer (Closed) Base URL: https://github.com/dart-lang/web-ui.git@polymer
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/html_css_fixup.dart ('k') | lib/src/messages.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/info.dart
diff --git a/lib/src/info.dart b/lib/src/info.dart
index 80749853d6137a5984821feb685e113ca058763e..9a7b530dbc9304b80f28cdfc2988f06d7a108152 100644
--- a/lib/src/info.dart
+++ b/lib/src/info.dart
@@ -11,13 +11,11 @@ library polymer.src.info;
import 'dart:collection' show SplayTreeMap, LinkedHashMap;
import 'package:analyzer_experimental/src/generated/ast.dart';
-import 'package:csslib/parser.dart' as css;
import 'package:csslib/visitor.dart';
import 'package:html5lib/dom.dart';
import 'package:source_maps/span.dart' show Span;
import 'dart_parser.dart' show DartCodeInfo;
-import 'files.dart';
import 'messages.dart';
import 'summary.dart';
import 'utils.dart';
@@ -46,7 +44,7 @@ class GlobalInfo {
* component-level behavior code. This code can either be inlined in the HTML
* file or included in a script tag with the "src" attribute.
*/
-abstract class LibraryInfo extends Hashable implements LibrarySummary {
+abstract class LibraryInfo implements LibrarySummary {
/** Whether there is any code associated with the page/component. */
bool get codeAttached => inlinedCode != null || externalFile != null;
@@ -193,10 +191,6 @@ class ComponentInfo extends LibraryInfo implements ComponentSummary {
ClassDeclaration get classDeclaration => _classDeclaration;
ClassDeclaration _classDeclaration;
- // TODO(terry): Remove once we stop mangling CSS selectors.
- /** CSS selectors scoped. */
- bool scoped = false;
-
/** The declaring `<element>` tag. */
final Node element;
« no previous file with comments | « lib/src/html_css_fixup.dart ('k') | lib/src/messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698