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

Side by Side Diff: chrome/browser/resources/ntp_search/mock/mockData.js

Issue 10829131: Refactoring NTP5: new implementation of TilePage and MostVisitedPage (which now inherits from Thumb… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // Paste mock data here
6 chrome.mock({
7 "getApps": [
8 {
9 "appPageNames": [
10 "Apps"
11 ],
12 "apps": [
13 {
14 "app_launch_ordinal": "n",
15 "description": "Web Store",
16 "direction": "ltr",
17 "enabled": true,
18 "homepageUrl": "",
19 "icon_big": "chrome://extension-icon/ahfgeienlihckogmohjhadlkjgocpleb/ 128/1",
20 "icon_big_exists": false,
21 "icon_small": "chrome://extension-icon/ahfgeienlihckogmohjhadlkjgocple b/16/1",
22 "icon_small_exists": false,
23 "id": "ahfgeienlihckogmohjhadlkjgocpleb",
24 "is_component": true,
25 "is_webstore": true,
26 "launch_container": 2,
27 "launch_type": 1,
28 "mayDisable": false,
29 "name": "Chrome Web Store",
30 "notifications_disabled": false,
31 "offlineEnabled": false,
32 "optionsUrl": "",
33 "page_index": 0,
34 "title": "Chrome Web Store",
35 "url": "https://chrome.google.com/webstore",
36 "version": "0.1"
37 }
38 ],
39 "showLauncher": false,
40 "showPromo": false
41 }
42 ],
43 "getRecentlyClosedTabs": [
44 [
45 {
46 "sessionId": 2,
47 "tabs": [
48 {
49 "direction": "ltr",
50 "timestamp": 0,
51 "title": "YouTube - Broadcast Yourself.",
52 "type": "tab",
53 "url": "http://www.youtube.com/"
jeremycho_google 2012/08/02 03:00:49 Drop the www (everywhere in getRecentlyClosedTabs)
pedrosimonetti2 2012/08/03 18:14:12 This file is generated by chrome.mock() function,
54 },
55 {
56 "direction": "ltr",
57 "timestamp": 0,
58 "title": "CNN.com - Breaking News, U.S., World, Weather, Entertainme nt & Video News",
59 "type": "tab",
60 "url": "http://www.cnn.com/"
61 }
62 ],
63 "timestamp": 1343253129.824551,
64 "type": "window"
65 },
66 {
67 "direction": "ltr",
68 "sessionId": 1,
69 "timestamp": 1343253127.485749,
70 "title": "Electronics, Cars, Fashion, Collectibles, Coupons and More Onl ine Shopping | eBay",
71 "type": "tab",
72 "url": "http://www.ebay.com/"
73 }
74 ]
75 ],
76 "getMostVisited": [
77 [
78 {
79 "direction": "ltr",
80 "title": "Wikipedia",
81 "url": "http://www.wikipedia.org/"
82 },
83 {
84 "direction": "ltr",
85 "title": "deviantART: where ART meets application!",
86 "url": "http://www.deviantart.com/"
87 },
88 {
89 "direction": "ltr",
90 "title": "WEFUNK Radio - Hip-Hop & The Original Funk",
91 "url": "http://wefunkradio.com/"
92 },
93 {
94 "direction": "ltr",
95 "title": "YouTube - Broadcast Yourself.",
96 "url": "http://youtube.com/"
97 },
98 {
99 "direction": "ltr",
100 "title": "Amazon.com: Online Shopping for Electronics, Apparel, Computer s, Books, DVDs & more",
101 "url": "http://amazon.com/"
102 },
103 {
104 "direction": "ltr",
105 "title": "The New York Times - Breaking News, World News & Multimedia",
106 "url": "http://nytimes.com/"
107 },
108 {
109 "direction": "ltr",
110 "title": "Hacker News",
111 "url": "http://news.ycombinator.com/"
112 },
113 {
114 "direction": "ltr",
115 "title": "CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News",
116 "url": "http://cnn.com/"
117 },
118 {
119 "direction": "ltr",
120 "title": "Electronics, Cars, Fashion, Collectibles, Coupons and More Onl ine Shopping | eBay",
121 "url": "http://ebay.com/"
122 },
123 {
124 "direction": "ltr",
125 "title": "Welcome to Chromium",
126 "url": "http://www.google.com/chrome/intl/en/welcome.html"
127 },
128 {
129 "direction": "ltr",
130 "title": "Chrome Web Store",
131 "url": "https://chrome.google.com/webstore?hl=en"
132 }
133 ],
134 false
135 ],
136 "__loadTimeData__": {
137 "anim": true,
138 "appDefaultPageName": "Apps",
139 "appInstallHintText": "Add more apps",
140 "appcreateshortcut": "Create Shortcut",
141 "appdisablenotifications": "Disable Notifications",
142 "applaunchtypefullscreen": "Open Full Screen",
143 "applaunchtypepinned": "Open as Pinned Tab",
144 "applaunchtyperegular": "Open as Regular Tab",
145 "applaunchtypewindow": "Open as Window",
146 "appoptions": "Options",
147 "apps_page_id": 2048,
148 "appuninstall": "Remove from Chromium",
149 "attributionintro": "Theme created by",
150 "bookmarkbarattached": false,
151 "closedwindowmultiple": "$1 Tabs",
152 "closedwindowsingle": "1 Tab",
153 "collapseSessionMenuItemText": "Collapse list",
154 "expandSessionMenuItemText": "Expand list",
155 "fontfamily": "DejaVu Sans, Arial, sans-serif",
156 "fontsize": "75%",
157 "hasattribution": false,
158 "isSuggestionsPageEnabled": false,
159 "isSwipeTrackingFromScrollEventsEnabled": false,
160 "isUserSignedIn": false,
161 "learnMore": "Learn more",
162 "learn_more": "Learn more",
163 "login_status_advanced": "",
164 "login_status_dismiss": "",
165 "login_status_message": "",
166 "login_status_url": "",
167 "most_visited_page_id": 1024,
168 "mostvisited": "Most visited",
169 "otherSessions": "Other devices",
170 "otherSessionsEmpty": "Access your open tabs on all of your devices.",
171 "otherSessionsLearnMoreUrl": "http://support.google.com/chrome/bin/answer.py ?answer=185277&hl=en",
172 "recentlyclosed": "Recently closed",
173 "removethumbnailtooltip": "Don't show on this page",
174 "restoreSessionMenuItemText": "Open all",
175 "restoreThumbnailsShort": "Restore all",
176 "showApps": true,
177 "showOtherSessionsMenu": true,
178 "shown_page_index": 0,
179 "shown_page_type": 1024,
180 "suggestions": "Suggested",
181 "suggestions_page_id": 4096,
182 "syncLinkText": "Advanced settings",
183 "syncpromotext": "Sign in to $1",
184 "textdirection": "ltr",
185 "themegravity": "",
186 "thumbnailremovednotification": "Thumbnail removed.",
187 "title": "New Tab",
188 "undothumbnailremove": "Undo",
189 "webStoreLink": "https://chrome.google.com/webstore?hl=en-US",
190 "webStoreTitle": "Chrome Web Store",
191 "webStoreTitleShort": "Web Store"
192 }
193 });
194
jeremycho_google 2012/08/02 03:00:49 Extra newline.
pedrosimonetti2 2012/08/03 18:14:12 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698