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

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

Issue 5019005: Add "open as window" menu item to NTP app menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for commit Created 10 years, 1 month 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 | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/resources/ntp/apps.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
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-launch-type-pinned" i18n-values=".label:applaunchtypepinned" 235 <command id="apps-launch-type-pinned" i18n-values=".label:applaunchtypepinned"
236 launch-type="0"> 236 launch-type="0">
237 <command id="apps-launch-type-regular" i18n-values=".label:applaunchtyperegular" 237 <command id="apps-launch-type-regular" i18n-values=".label:applaunchtyperegular"
238 launch-type="1"> 238 launch-type="1">
239 <command id="apps-launch-type-window"
240 i18n-values=".label:applaunchtypewindow" launch-type="3">
239 <command id="apps-launch-type-fullscreen" 241 <command id="apps-launch-type-fullscreen"
240 i18n-values=".label:applaunchtypefullscreen" launch-type="2"> 242 i18n-values=".label:applaunchtypefullscreen" launch-type="2">
241 243
242 <!-- These are populated dynamically --> 244 <!-- These are populated dynamically -->
243 <menu id="apps-menu"></menu> 245 <menu id="apps-menu"></menu>
244 <menu id="most-visited-menu"></menu> 246 <menu id="most-visited-menu"></menu>
245 <menu id="recently-closed-menu"></menu> 247 <menu id="recently-closed-menu"></menu>
246 248
247 <menu id="app-context-menu"> 249 <menu id="app-context-menu">
248 <button class="default" command="#apps-launch-command"></button> 250 <button class="default" command="#apps-launch-command"></button>
249 <hr> 251 <hr>
250 <button command="#apps-launch-type-regular" launch-type="1"></button> 252 <button command="#apps-launch-type-regular" launch-type="1"></button>
251 <button command="#apps-launch-type-pinned" launch-type="0"></button> 253 <button command="#apps-launch-type-pinned" launch-type="0"></button>
254 <button id="apps-launch-type-window-menu-item"
255 command="#apps-launch-type-window" launch-type="3"></button>
252 <button command="#apps-launch-type-fullscreen" launch-type="2"></button> 256 <button command="#apps-launch-type-fullscreen" launch-type="2"></button>
253 <hr> 257 <hr>
254 <button command="#apps-options-command"></button> 258 <button command="#apps-options-command"></button>
255 <button command="#apps-uninstall-command"></button> 259 <button command="#apps-uninstall-command"></button>
256 </menu> 260 </menu>
257 261
258 </body> 262 </body>
259 263
260 <script src="shared/js/i18n_template.js"></script> 264 <script src="shared/js/i18n_template.js"></script>
261 <script> 265 <script>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 setSectionVisible('apps', Section.APPS, appsInitiallyVisible, MINIMIZED_APPS); 309 setSectionVisible('apps', Section.APPS, appsInitiallyVisible, MINIMIZED_APPS);
306 setSectionVisible( 310 setSectionVisible(
307 'most-visited', Section.THUMB, 311 'most-visited', Section.THUMB,
308 mostVisitedInitiallyVisible, MINIMIZED_THUMB); 312 mostVisitedInitiallyVisible, MINIMIZED_THUMB);
309 setSectionVisible( 313 setSectionVisible(
310 'recently-closed', undefined, 314 'recently-closed', undefined,
311 recentlyClosedInitiallyVisible, MINIMIZED_RECENT); 315 recentlyClosedInitiallyVisible, MINIMIZED_RECENT);
312 layoutSections(); 316 layoutSections();
313 </script> 317 </script>
314 </html> 318 </html>
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/resources/ntp/apps.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698