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

Side by Side Diff: chrome/browser/resources/new_new_tab.html

Issue 5273004: Add "create Application Shortcut" to the app menu on NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for commit. Created 10 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values=" 2 <html i18n-values="
3 dir:textdirection; 3 dir:textdirection;
4 bookmarkbarattached:bookmarkbarattached; 4 bookmarkbarattached:bookmarkbarattached;
5 hasattribution:hasattribution; 5 hasattribution:hasattribution;
6 anim:anim; 6 anim:anim;
7 syncispresent:syncispresent; 7 syncispresent:syncispresent;
8 customlogo:customlogo" 8 customlogo:customlogo"
9 install-animation-enabled="true"> 9 install-animation-enabled="true">
10 <head> 10 <head>
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 </button> 225 </button>
226 </div> 226 </div>
227 </div> <!-- main --> 227 </div> <!-- main -->
228 228
229 <div class="window-menu" id="window-tooltip"></div> 229 <div class="window-menu" id="window-tooltip"></div>
230 230
231 <command id="clear-all-blacklisted" i18n-values=".label:restorethumbnails"> 231 <command id="clear-all-blacklisted" i18n-values=".label:restorethumbnails">
232 <command id="apps-launch-command"> 232 <command id="apps-launch-command">
233 <command id="apps-options-command" i18n-values=".label:appoptions"> 233 <command id="apps-options-command" i18n-values=".label:appoptions">
234 <command id="apps-uninstall-command" i18n-values=".label:appuninstall"> 234 <command id="apps-uninstall-command" i18n-values=".label:appuninstall">
235 <command id="apps-create-shortcut-command"
236 i18n-values=".label:appcreateshortcut">
235 <command id="apps-launch-type-pinned" i18n-values=".label:applaunchtypepinned" 237 <command id="apps-launch-type-pinned" i18n-values=".label:applaunchtypepinned"
236 launch-type="0"> 238 launch-type="0">
237 <command id="apps-launch-type-regular" i18n-values=".label:applaunchtyperegular" 239 <command id="apps-launch-type-regular" i18n-values=".label:applaunchtyperegular"
238 launch-type="1"> 240 launch-type="1">
239 <command id="apps-launch-type-window" 241 <command id="apps-launch-type-window"
240 i18n-values=".label:applaunchtypewindow" launch-type="3"> 242 i18n-values=".label:applaunchtypewindow" launch-type="3">
241 <command id="apps-launch-type-fullscreen" 243 <command id="apps-launch-type-fullscreen"
242 i18n-values=".label:applaunchtypefullscreen" launch-type="2"> 244 i18n-values=".label:applaunchtypefullscreen" launch-type="2">
243 245
244 <!-- These are populated dynamically --> 246 <!-- These are populated dynamically -->
245 <menu id="apps-menu"></menu> 247 <menu id="apps-menu"></menu>
246 <menu id="most-visited-menu"></menu> 248 <menu id="most-visited-menu"></menu>
247 <menu id="recently-closed-menu"></menu> 249 <menu id="recently-closed-menu"></menu>
248 250
249 <menu id="app-context-menu"> 251 <menu id="app-context-menu">
250 <button class="default" command="#apps-launch-command"></button> 252 <button class="default" command="#apps-launch-command"></button>
251 <hr> 253 <hr>
252 <button command="#apps-launch-type-regular" launch-type="1"></button> 254 <button command="#apps-launch-type-regular" launch-type="1"></button>
253 <button command="#apps-launch-type-pinned" launch-type="0"></button> 255 <button command="#apps-launch-type-pinned" launch-type="0"></button>
254 <button id="apps-launch-type-window-menu-item" 256 <button id="apps-launch-type-window-menu-item"
255 command="#apps-launch-type-window" launch-type="3"></button> 257 command="#apps-launch-type-window" launch-type="3"></button>
256 <button command="#apps-launch-type-fullscreen" launch-type="2"></button> 258 <button command="#apps-launch-type-fullscreen" launch-type="2"></button>
257 <hr> 259 <hr>
258 <button command="#apps-options-command"></button> 260 <button command="#apps-options-command"></button>
259 <button command="#apps-uninstall-command"></button> 261 <button command="#apps-uninstall-command"></button>
262 <button id="apps-create-shortcut-command-menu-item"
263 command="#apps-create-shortcut-command"></button>
260 </menu> 264 </menu>
261 265
262 </body> 266 </body>
263 267
264 <script src="shared/js/i18n_template.js"></script> 268 <script src="shared/js/i18n_template.js"></script>
265 <script> 269 <script>
266 i18nTemplate.process(document, templateData); 270 i18nTemplate.process(document, templateData);
267 </script> 271 </script>
268 <script src="shared/js/local_strings.js"></script> 272 <script src="shared/js/local_strings.js"></script>
269 <script src="shared/js/parse_html_subset.js"></script> 273 <script src="shared/js/parse_html_subset.js"></script>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 setSectionVisible('apps', Section.APPS, appsInitiallyVisible, MINIMIZED_APPS); 313 setSectionVisible('apps', Section.APPS, appsInitiallyVisible, MINIMIZED_APPS);
310 setSectionVisible( 314 setSectionVisible(
311 'most-visited', Section.THUMB, 315 'most-visited', Section.THUMB,
312 mostVisitedInitiallyVisible, MINIMIZED_THUMB); 316 mostVisitedInitiallyVisible, MINIMIZED_THUMB);
313 setSectionVisible( 317 setSectionVisible(
314 'recently-closed', undefined, 318 'recently-closed', undefined,
315 recentlyClosedInitiallyVisible, MINIMIZED_RECENT); 319 recentlyClosedInitiallyVisible, MINIMIZED_RECENT);
316 layoutSections(); 320 layoutSections();
317 </script> 321 </script>
318 </html> 322 </html>
OLDNEW
« no previous file with comments | « chrome/browser/gtk/create_application_shortcuts_dialog_gtk.cc ('k') | chrome/browser/resources/ntp/apps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698