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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/samples/swarm/swarm.css » ('j') | utils/css/generate.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // File generated by SCSS from source file swarm.scss 1 // File generated by Dart CSS from source file swarm.scss
2 // Do not edit. 2 // Do not edit.
3 3
4 class CSSProperty {
5 final String name;
6 final String value;
7
8 CSSProperty(this.name, this.value) { }
9 }
10
11 class CSSStylet {
12 List<CSSProperty> properties;
13
14 CSSStylet(this.properties) { }
15 }
16
17 class CSS { 4 class CSS {
18 // CSS class selectors: 5 // CSS class selectors:
19 static final String HBOX = 'hbox'; 6 static final String HBOX = 'hbox';
20 static final String VBOX = 'vbox'; 7 static final String VBOX = 'vbox';
21 static final String CENTER = 'center'; 8 static final String CENTER = 'center';
22 static final String PAGED_CONTENT = 'paged-content'; 9 static final String PAGED_CONTENT = 'paged-content';
23 static final String FULLPAGE = 'fullpage'; 10 static final String FULLPAGE = 'fullpage';
24 static final String FLEX_ITEM = 'flex-item'; 11 static final String FLEX_ITEM = 'flex-item';
25 static final String FLEX = 'flex'; 12 static final String FLEX = 'flex';
26 static final String CONVEYOR_VIEW = 'conveyor-view'; 13 static final String CONVEYOR_VIEW = 'conveyor-view';
27 static final String CONVEYOR_ITEM = 'conveyor-item'; 14 static final String CONVEYOR_ITEM = 'conveyor-item';
28 static final String CONVEYOR_VIEW_CONTAINER = 'conveyor-view-container'; 15 static final String CONVEYOR_VIEW_CONTAINER = 'conveyor-view-container';
29 static final String PAGED_COLUMN_CONTAINER = 'paged-column-container'; 16 static final String PAGED_COLUMN_CONTAINER = 'paged-column-container';
30 static final String PAGED_COLUMN = 'paged-column'; 17 static final String PAGED_COLUMN = 'paged-column';
31 static final String PAGE_NUMBER_LEFT = 'page-number-left'; 18 static final String PAGE_NUMBER_LEFT = 'page-number-left';
32 static final String PAGE_NUMBER_LABEL = 'page-number-label'; 19 static final String PAGE_NUMBER_LABEL = 'page-number-label';
33 static final String PAGE_NUMBER_RIGHT = 'page-number-right'; 20 static final String PAGE_NUMBER_RIGHT = 'page-number-right';
34 static final String SM_ITEM = 'sm-item'; 21 static final String SM_ITEM = 'sm-item';
35 static final String SM_ITEM_BOX = 'sm-item-box'; 22 static final String SM_ITEM_BOX = 'sm-item-box';
36 static final String SM_ROOT = 'sm-root'; 23 static final String SM_ROOT = 'sm-root';
24 static final String HIDDEN = 'hidden';
25 static final String SEL = 'sel';
37 static final String SM_SLIDER_BOX = 'sm-slider-box'; 26 static final String SM_SLIDER_BOX = 'sm-slider-box';
38 static final String SM_TRIANGLE = 'sm-triangle'; 27 static final String SM_TRIANGLE = 'sm-triangle';
39 static final String INVISIBLE = 'invisible'; 28 static final String INVISIBLE = 'invisible';
40 static final String TOUCH_SCROLLBAR = 'touch-scrollbar'; 29 static final String TOUCH_SCROLLBAR = 'touch-scrollbar';
30 static final String DRAG = 'drag';
41 static final String TOUCH_SCROLLBAR_VERTICAL = 'touch-scrollbar-vertical'; 31 static final String TOUCH_SCROLLBAR_VERTICAL = 'touch-scrollbar-vertical';
42 static final String TOUCH_SCROLLBAR_HORIZONTAL = 'touch-scrollbar-horizontal'; 32 static final String TOUCH_SCROLLBAR_HORIZONTAL = 'touch-scrollbar-horizontal';
43 static final String FRONT_VIEW = 'front-view'; 33 static final String FRONT_VIEW = 'front-view';
44 static final String BOTTOM_VIEW = 'bottom-view'; 34 static final String BOTTOM_VIEW = 'bottom-view';
45 static final String TOP_VIEW = 'top-view'; 35 static final String TOP_VIEW = 'top-view';
46 static final String QUERY = 'query'; 36 static final String QUERY = 'query';
47 static final String QUERY_NAME_SHADOW = 'query-name-shadow'; 37 static final String QUERY_NAME_SHADOW = 'query-name-shadow';
48 static final String SECTION_VIEW = 'section-view'; 38 static final String SECTION_VIEW = 'section-view';
49 static final String LOADING_SECTION = 'loading-section'; 39 static final String LOADING_SECTION = 'loading-section';
50 static final String STORY_SECTION = 'story-section'; 40 static final String STORY_SECTION = 'story-section';
51 static final String STORY = 'story'; 41 static final String STORY = 'story';
52 static final String SNIPPET = 'snippet'; 42 static final String SNIPPET = 'snippet';
43 static final String TITLE = 'title';
44 static final String NO_THUMB = 'no-thumb';
45 static final String BYLINE = 'byline';
53 static final String STORY_SHADOW = 'story-shadow'; 46 static final String STORY_SHADOW = 'story-shadow';
47 static final String DATELINE = 'dateline';
48 static final String STORY_UNREAD = 'story-unread';
49 static final String TEXT = 'text';
50 static final String CAPTION = 'caption';
54 static final String STORY_VIEW = 'story-view'; 51 static final String STORY_VIEW = 'story-view';
55 static final String PAGE_NUMBER = 'page-number'; 52 static final String PAGE_NUMBER = 'page-number';
56 static final String STORY_CONTENT = 'story-content'; 53 static final String STORY_CONTENT = 'story-content';
57 static final String STORY_IMAGE = 'story-image'; 54 static final String STORY_IMAGE = 'story-image';
58 static final String STORY_TEXT_VIEW = 'story-text-view'; 55 static final String STORY_TEXT_VIEW = 'story-text-view';
56 static final String STORY_HEADER = 'story-header';
59 static final String STORY_TITLE = 'story-title'; 57 static final String STORY_TITLE = 'story-title';
58 static final String STORY_BYLINE = 'story-byline';
59 static final String STORY_DATELINE = 'story-dateline';
60 static final String HEADER_VIEW = 'header-view'; 60 static final String HEADER_VIEW = 'header-view';
61 static final String APP_TITLE = 'app-title'; 61 static final String APP_TITLE = 'app-title';
62 static final String IN_STORY = 'in-story';
62 static final String BACK_ARROW = 'back-arrow'; 63 static final String BACK_ARROW = 'back-arrow';
63 static final String CONFIG = 'config'; 64 static final String CONFIG = 'config';
64 static final String REFRESH = 'refresh'; 65 static final String REFRESH = 'refresh';
65 static final String INFO_BUTTON = 'info-button'; 66 static final String INFO_BUTTON = 'info-button';
66 static final String NEW_WINDOW_BUTTON = 'new-window-button'; 67 static final String NEW_WINDOW_BUTTON = 'new-window-button';
67 static final String WEB_BACK_BUTTON = 'web-back-button'; 68 static final String WEB_BACK_BUTTON = 'web-back-button';
68 static final String WEB_FORWARD_BUTTON = 'web-forward-button'; 69 static final String WEB_FORWARD_BUTTON = 'web-forward-button';
69 static final String WEB_VIEW_BUTTON = 'web-view-button'; 70 static final String WEB_VIEW_BUTTON = 'web-view-button';
70 static final String TEXT_VIEW_BUTTON = 'text-view-button'; 71 static final String TEXT_VIEW_BUTTON = 'text-view-button';
72 static final String ACTIVE = 'active';
71 static final String BUTTON = 'button'; 73 static final String BUTTON = 'button';
72 static final String DATA_SOURCE_VIEW = 'data-source-view'; 74 static final String DATA_SOURCE_VIEW = 'data-source-view';
73 static final String DIALOG_MODAL = 'dialog-modal'; 75 static final String DIALOG_MODAL = 'dialog-modal';
74 static final String DIALOG = 'dialog'; 76 static final String DIALOG = 'dialog';
75 static final String DIALOG_TITLE_AREA = 'dialog-title-area'; 77 static final String DIALOG_TITLE_AREA = 'dialog-title-area';
76 static final String DIALOG_TITLE = 'dialog-title'; 78 static final String DIALOG_TITLE = 'dialog-title';
77 static final String DIALOG_BODY = 'dialog-body'; 79 static final String DIALOG_BODY = 'dialog-body';
78 static final String DONE_BUTTON = 'done-button'; 80 static final String DONE_BUTTON = 'done-button';
79 static final String HIDDEN_STORY = 'hidden-story'; 81 static final String HIDDEN_STORY = 'hidden-story';
80 static final String HEADER_BACKGROUND = 'header-background'; 82 static final String HEADER_BACKGROUND = 'header-background';
81 static final String TRANSPARENT = 'transparent';
82
83 // CSS state class selectors:
84 static final String SEL = 'sel';
85 static final String TITLE = 'title';
86 static final String NO_THUMB = 'no-thumb';
87 static final String BYLINE = 'byline';
88 static final String DATELINE = 'dateline';
89 static final String STORY_UNREAD = 'story-unread';
90 static final String TEXT = 'text';
91 static final String CAPTION = 'caption';
92 static final String STORY_HEADER = 'story-header';
93 static final String STORY_BYLINE = 'story-byline';
94 static final String STORY_DATELINE = 'story-dateline';
95 static final String HEADER = 'header'; 83 static final String HEADER = 'header';
96 static final String SPLASH = 'splash'; 84 static final String SPLASH = 'splash';
97 static final String FOOTER = 'footer'; 85 static final String FOOTER = 'footer';
98 static final String SPLASHIMG = 'splashImg'; 86 static final String SPLASHIMG = 'splashImg';
99 static final String HIDE_ALL_QUERIES = 'hide-all-queries'; 87 static final String HIDE_ALL_QUERIES = 'hide-all-queries';
100 88 static final String TRANSPARENT = 'transparent';
101 // CSS stylet instances:
102 } 89 }
OLDNEW
« 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