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

Side by Side Diff: third_party/chrome/tools/json_schema_compiler/highlighters/hilite_me_highlighter.py

Issue 12300042: Update idlsync.py to pull in dependencies required for chrome api generation. (Closed) Base URL: git://github.com/dart-lang/bleeding_edge.git@master
Patch Set: From another checkout Created 7 years, 10 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import urllib 5 import urllib
6 import urllib2 6 import urllib2
7 7
8 class HiliteMeHighlighter(object): 8 class HiliteMeHighlighter(object):
9 """Highlighter that calls the http://hilite.me API to highlight code. 9 """Highlighter that calls the http://hilite.me API to highlight code.
10 """ 10 """
(...skipping 10 matching lines...) Expand all
21 ('linenos', 1)]) 21 ('linenos', 1)])
22 ).read() 22 ).read()
23 23
24 def DisplayName(self): 24 def DisplayName(self):
25 return 'hilite.me (slow, requires internet)' 25 return 'hilite.me (slow, requires internet)'
26 26
27 def GetStyles(self): 27 def GetStyles(self):
28 return ['monokai', 'manni', 'perldoc', 'borland', 'colorful', 'default', 28 return ['monokai', 'manni', 'perldoc', 'borland', 'colorful', 'default',
29 'murphy', 'vs', 'trac', 'tango', 'fruity', 'autumn', 'bw', 'emacs', 29 'murphy', 'vs', 'trac', 'tango', 'fruity', 'autumn', 'bw', 'emacs',
30 'vim', 'pastie', 'friendly', 'native'] 30 'vim', 'pastie', 'friendly', 'native']
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698