Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: Info.plist.tmpl

Issue 11544056: Prepared buildtools for Safari (Closed)
Patch Set: Created Sept. 4, 2013, 8:03 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | background.html.tmpl » ('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 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/ PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5 <key>Author</key>
6 <string>{{ author }}</string>
7 <key>CFBundleDisplayName</key>
8 <string>{{ name }}</string>
9 <key>CFBundleIdentifier</key>
10 <string>{{ identifier }}</string>
11 <key>CFBundleInfoDictionaryVersion</key>
12 <string>6.0</string>
13 <key>CFBundleShortVersionString</key>
14 <string>{{ version }}</string>
15 <key>CFBundleVersion</key>
16 <string>{{ version }}</string>
17 <key>Chrome</key>
18 <dict>
19 <key>Database Quota</key>
20 <real>104857600</real>
21 <key>Global Page</key>
22 <string>background.html</string>
23 {%- if menus %}
24 <key>Menus</key>
25 <array>
26 {%- for identifier, items in menus.iteritems() %}
27 <dict>
28 <key>Identifier</key>
29 <string>{{ identifier }}</string>
30 <key>Menu Items</key>
31 <array>
32 {%- for identifier, props in items.iteritems() %}
33 <dict>
34 <key>Identifier</key>
35 <string>{{ identifier }}</string >
36 {%- for key, value in props.iteritems() %}
37 <key>{{ key }}</key>
38 {{ toxml(value) }}
39 {%- endfor %}
40 </dict>
41 {%- endfor %}
42 </array>
43 </dict>
44 {%- endfor %}
45 </array>
46 {%- endif %}
47 {%- if popovers %}
48 <key>Popovers</key>
49 <array>
50 {%- for identifier, props in popovers.iteritems() %}
51 <dict>
52 <key>Identifier</key>
53 <string>{{ identifier }}</string>
54 {%- for key, value in props.iteritems() %}
55 <key>{{ key }}</key>
56 {{ toxml(value) }}
57 {%- endfor %}
58 </dict>
59 {%- endfor %}
60 </array>
61 {%- endif %}
62 {%- if toolbarItems %}
63 <key>Toolbar Items</key>
64 <array>
65 {%- for identifier, props in toolbarItems.iteritems() %}
66 <dict>
67 <key>Identifier</key>
68 <string>{{ identifier }}</string>
69 {%- for key, value in props.iteritems() %}
70 <key>{{ key }}</key>
71 {{ toxml(value) }}
72 {%- endfor %}
73 </dict>
74 {%- endfor %}
75 </array>
76 {%- endif %}
77 </dict>
78 <key>Content</key>
79 <dict>
80 <key>Scripts</key>
81 <dict>
82 <key>End</key>
83 <array>
84 {%- for script in contentScripts.end %}
85 <string>{{ script }}</string>
86 {%- endfor %}
87 </array>
88 <key>Start</key>
89 <array>
90 {%- for script in contentScripts.start %}
91 <string>{{ script }}</string>
92 {%- endfor %}
93 </array>
94 </dict>
95 </dict>
96 <key>ExtensionInfoDictionaryVersion</key>
97 <string>1.0</string>
98 <key>Permissions</key>
99 <dict>
100 <key>Website Access</key>
101 <dict>
102 {%- if allowedDomains and not allowAllDomains %}
103 <key>Allowed Domains</key>
104 <array>
105 {%- for domain in allowedDomains %}
106 <string>{{ domain }}</string>
107 {%- endfor %}
108 </array>
109 {%- endif %}
110 <key>Include Secure Pages</key>
111 {%- if allowSecurePages %}
112 <true/>
113 {%- else %}
114 <false/>
115 {%- endif %}
116 <key>Level</key>
117 {%- if allowAllDomains %}
118 <string>All</string>
119 {%- elif allowedDomains %}
120 <string>Some</string>
121 {%- else %}
122 <string>None</string>
123 {%- endif %}
124 </dict>
125 </dict>
126 <key>Description</key>
127 <string>{{ description }}</string>
128 <key>Website</key>
129 <string>{{ website }}</string>
130 </dict>
131 </plist>
OLDNEW
« no previous file with comments | « no previous file | background.html.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld