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

Side by Side Diff: Source/build/scripts/make_media_feature_names.py

Issue 185533012: Auto generate MediaFeatureNames, its macros and MediaTypeNames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed comment from RuntimeEnabled 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
« no previous file with comments | « no previous file | Source/build/scripts/make_media_features.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 import sys
8 import in_generator
9 import make_names
10 import media_feature_symbol
11
12
13 class MakeMediaFeatureNamesWriter(make_names.MakeNamesWriter):
14 pass
15
16 MakeMediaFeatureNamesWriter.filters['symbol'] = media_feature_symbol.getMediaFea tureSymbolWithSuffix('MediaFeature')
17
18 if __name__ == "__main__":
19 in_generator.Maker(MakeMediaFeatureNamesWriter).main(sys.argv)
OLDNEW
« no previous file with comments | « no previous file | Source/build/scripts/make_media_features.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698