Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://browser/skin/platform.css" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/content/bindings.css" type="text/css"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://browser/skin/tiles.css" type="text/css"?> |
michael@0 | 10 | <?xml-stylesheet href="chrome://browser/skin/start.css" type="text/css"?> |
michael@0 | 11 | |
michael@0 | 12 | <!DOCTYPE window [ |
michael@0 | 13 | <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> |
michael@0 | 14 | %globalDTD; |
michael@0 | 15 | <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd"> |
michael@0 | 16 | %browserDTD; |
michael@0 | 17 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
michael@0 | 18 | %brandDTD; |
michael@0 | 19 | #ifdef MOZ_SERVICES_SYNC |
michael@0 | 20 | <!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd"> |
michael@0 | 21 | %syncBrandDTD; |
michael@0 | 22 | <!ENTITY % syncDTD SYSTEM "chrome://browser/locale/sync.dtd"> |
michael@0 | 23 | %syncDTD; |
michael@0 | 24 | #endif |
michael@0 | 25 | ]> |
michael@0 | 26 | |
michael@0 | 27 | <!-- we're using html here so we get anonymous scrollbars on the browser element --> |
michael@0 | 28 | <html:html id="startui-page" |
michael@0 | 29 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 30 | xmlns:html="http://www.w3.org/1999/xhtml" |
michael@0 | 31 | dir="&locale.dir;"> |
michael@0 | 32 | |
michael@0 | 33 | <html:body id="startui-body" class="meta" |
michael@0 | 34 | onload="StartUI.init();" onunload="StartUI.uninit();"> |
michael@0 | 35 | |
michael@0 | 36 | <script type="application/javascript" src="chrome://browser/content/startui-scripts.js"/> |
michael@0 | 37 | |
michael@0 | 38 | <!-- mimic broadcasts in browser.xul. note browser.xul broadcasters do not propagate down here! --> |
michael@0 | 39 | <broadcasterset id="broadcasterset"> |
michael@0 | 40 | <broadcaster id="bcast_preciseInput" input="precise"/> |
michael@0 | 41 | <broadcaster id="bcast_windowState" viewstate=""/> |
michael@0 | 42 | </broadcasterset> |
michael@0 | 43 | |
michael@0 | 44 | <hbox id="start-container" class="meta-section-container" |
michael@0 | 45 | observes="bcast_windowState"> |
michael@0 | 46 | <!-- the start-container element has a max-height set in StartUI.js --> |
michael@0 | 47 | <vbox id="start-topsites" class="meta-section" expanded="true"> |
michael@0 | 48 | <label class="meta-section-title wide-title" value="&topSitesHeader.label;"/> |
michael@0 | 49 | <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-topsites')"> |
michael@0 | 50 | &narrowTopSitesHeader.label; |
michael@0 | 51 | </html:div> |
michael@0 | 52 | <richgrid id="start-topsites-grid" observes="bcast_windowState" set-name="topSites" rows="3" columns="3" tiletype="thumbnail" seltype="multiple" minSlots="8" fade="true" flex="1"> |
michael@0 | 53 | <richgriditem/> |
michael@0 | 54 | <richgriditem/> |
michael@0 | 55 | <richgriditem/> |
michael@0 | 56 | <richgriditem/> |
michael@0 | 57 | <richgriditem/> |
michael@0 | 58 | <richgriditem/> |
michael@0 | 59 | <richgriditem/> |
michael@0 | 60 | <richgriditem/> |
michael@0 | 61 | <richgriditem/> |
michael@0 | 62 | </richgrid> |
michael@0 | 63 | </vbox> |
michael@0 | 64 | |
michael@0 | 65 | <vbox id="start-bookmarks" class="meta-section"> |
michael@0 | 66 | <label class="meta-section-title wide-title" value="&bookmarksHeader.label;"/> |
michael@0 | 67 | <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-bookmarks')"> |
michael@0 | 68 | &narrowBookmarksHeader.label; |
michael@0 | 69 | </html:div> |
michael@0 | 70 | <richgrid id="start-bookmarks-grid" observes="bcast_windowState" set-name="bookmarks" seltype="multiple" fade="true" flex="1" minSlots="3"> |
michael@0 | 71 | <richgriditem/> |
michael@0 | 72 | <richgriditem/> |
michael@0 | 73 | </richgrid> |
michael@0 | 74 | </vbox> |
michael@0 | 75 | |
michael@0 | 76 | <vbox id="start-history" class="meta-section"> |
michael@0 | 77 | <label class="meta-section-title wide-title" value="&recentHistoryHeader.label;"/> |
michael@0 | 78 | <html:div class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-history')"> |
michael@0 | 79 | &narrowRecentHistoryHeader.label; |
michael@0 | 80 | </html:div> |
michael@0 | 81 | <richgrid id="start-history-grid" observes="bcast_windowState" set-name="recentHistory" seltype="multiple" fade="true" flex="1"> |
michael@0 | 82 | <richgriditem/> |
michael@0 | 83 | <richgriditem/> |
michael@0 | 84 | <richgriditem/> |
michael@0 | 85 | </richgrid> |
michael@0 | 86 | </vbox> |
michael@0 | 87 | |
michael@0 | 88 | #ifdef MOZ_SERVICES_SYNC |
michael@0 | 89 | <vbox id="start-remotetabs" class="meta-section"> |
michael@0 | 90 | <label class="meta-section-title wide-title" value="&remoteTabsHeader.label;"/> |
michael@0 | 91 | <html:div id="snappedRemoteTabsLabel" class="meta-section-title narrow-title" onclick="StartUI.onNarrowTitleClick('start-remotetabs')"> |
michael@0 | 92 | &narrowRemoteTabsHeader.label; |
michael@0 | 93 | </html:div> |
michael@0 | 94 | <richgrid id="start-remotetabs-grid" observes="bcast_windowState" set-name="remoteTabs" seltype="multiple" fade="true" flex="1"> |
michael@0 | 95 | <richgriditem/> |
michael@0 | 96 | <richgriditem/> |
michael@0 | 97 | <richgriditem/> |
michael@0 | 98 | </richgrid> |
michael@0 | 99 | |
michael@0 | 100 | </vbox> |
michael@0 | 101 | #endif |
michael@0 | 102 | </hbox> |
michael@0 | 103 | </html:body> |
michael@0 | 104 | <observes element="bcast_windowState" attribute="*"/> |
michael@0 | 105 | </html:html> |