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

Unified Diff: client/samples/swarm/CSS.dart

Issue 8937017: New CSS parser written in Dart to replace pyparser (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Put back for DartC Created 9 years 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 | « no previous file | client/samples/swarm/swarm.css » ('j') | utils/css/generate.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/swarm/CSS.dart
diff --git a/client/samples/swarm/CSS.dart b/client/samples/swarm/CSS.dart
index c977a8b13e0625df7a6acc82b02a08f169bf8d36..1fa3b366e9dde934c560154115f278624e2947d4 100644
--- a/client/samples/swarm/CSS.dart
+++ b/client/samples/swarm/CSS.dart
@@ -1,19 +1,6 @@
-// File generated by SCSS from source file swarm.scss
+// File generated by Dart CSS from source file swarm.scss
// Do not edit.
-class CSSProperty {
- final String name;
- final String value;
-
- CSSProperty(this.name, this.value) { }
-}
-
-class CSSStylet {
- List<CSSProperty> properties;
-
- CSSStylet(this.properties) { }
-}
-
class CSS {
// CSS class selectors:
static final String HBOX = 'hbox';
@@ -34,10 +21,13 @@ class CSS {
static final String SM_ITEM = 'sm-item';
static final String SM_ITEM_BOX = 'sm-item-box';
static final String SM_ROOT = 'sm-root';
+ static final String HIDDEN = 'hidden';
+ static final String SEL = 'sel';
static final String SM_SLIDER_BOX = 'sm-slider-box';
static final String SM_TRIANGLE = 'sm-triangle';
static final String INVISIBLE = 'invisible';
static final String TOUCH_SCROLLBAR = 'touch-scrollbar';
+ static final String DRAG = 'drag';
static final String TOUCH_SCROLLBAR_VERTICAL = 'touch-scrollbar-vertical';
static final String TOUCH_SCROLLBAR_HORIZONTAL = 'touch-scrollbar-horizontal';
static final String FRONT_VIEW = 'front-view';
@@ -50,15 +40,26 @@ class CSS {
static final String STORY_SECTION = 'story-section';
static final String STORY = 'story';
static final String SNIPPET = 'snippet';
+ static final String TITLE = 'title';
+ static final String NO_THUMB = 'no-thumb';
+ static final String BYLINE = 'byline';
static final String STORY_SHADOW = 'story-shadow';
+ static final String DATELINE = 'dateline';
+ static final String STORY_UNREAD = 'story-unread';
+ static final String TEXT = 'text';
+ static final String CAPTION = 'caption';
static final String STORY_VIEW = 'story-view';
static final String PAGE_NUMBER = 'page-number';
static final String STORY_CONTENT = 'story-content';
static final String STORY_IMAGE = 'story-image';
static final String STORY_TEXT_VIEW = 'story-text-view';
+ static final String STORY_HEADER = 'story-header';
static final String STORY_TITLE = 'story-title';
+ static final String STORY_BYLINE = 'story-byline';
+ static final String STORY_DATELINE = 'story-dateline';
static final String HEADER_VIEW = 'header-view';
static final String APP_TITLE = 'app-title';
+ static final String IN_STORY = 'in-story';
static final String BACK_ARROW = 'back-arrow';
static final String CONFIG = 'config';
static final String REFRESH = 'refresh';
@@ -68,6 +69,7 @@ class CSS {
static final String WEB_FORWARD_BUTTON = 'web-forward-button';
static final String WEB_VIEW_BUTTON = 'web-view-button';
static final String TEXT_VIEW_BUTTON = 'text-view-button';
+ static final String ACTIVE = 'active';
static final String BUTTON = 'button';
static final String DATA_SOURCE_VIEW = 'data-source-view';
static final String DIALOG_MODAL = 'dialog-modal';
@@ -78,25 +80,10 @@ class CSS {
static final String DONE_BUTTON = 'done-button';
static final String HIDDEN_STORY = 'hidden-story';
static final String HEADER_BACKGROUND = 'header-background';
- static final String TRANSPARENT = 'transparent';
-
- // CSS state class selectors:
- static final String SEL = 'sel';
- static final String TITLE = 'title';
- static final String NO_THUMB = 'no-thumb';
- static final String BYLINE = 'byline';
- static final String DATELINE = 'dateline';
- static final String STORY_UNREAD = 'story-unread';
- static final String TEXT = 'text';
- static final String CAPTION = 'caption';
- static final String STORY_HEADER = 'story-header';
- static final String STORY_BYLINE = 'story-byline';
- static final String STORY_DATELINE = 'story-dateline';
static final String HEADER = 'header';
static final String SPLASH = 'splash';
static final String FOOTER = 'footer';
static final String SPLASHIMG = 'splashImg';
static final String HIDE_ALL_QUERIES = 'hide-all-queries';
-
- // CSS stylet instances:
+ static final String TRANSPARENT = 'transparent';
}
« no previous file with comments | « no previous file | client/samples/swarm/swarm.css » ('j') | utils/css/generate.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698