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

Unified Diff: chrome/browser/resources/ntp_search/mock/mock_data_autogen.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: Manually fixing mock_data_autogen.js lines with more than 80 chars. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp_search/mock/mock_data_autogen.js
diff --git a/chrome/browser/resources/ntp_search/mock/mock_data_autogen.js b/chrome/browser/resources/ntp_search/mock/mock_data_autogen.js
new file mode 100644
index 0000000000000000000000000000000000000000..3f30a4536292211213e90bdf44c84efbfe992286
--- /dev/null
+++ b/chrome/browser/resources/ntp_search/mock/mock_data_autogen.js
@@ -0,0 +1,202 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// The following code is generated pseudo-automatically by a non document
+// tool. Do not change this code unless you know what you are doing.
+chrome.mock && chrome.mock({
+ 'getApps': [
+ {
+ 'appPageNames': [
+ 'Apps'
+ ],
+ 'apps': [
+ {
+ 'app_launch_ordinal': 'n',
+ 'description': 'Web Store',
+ 'direction': 'ltr',
+ 'enabled': true,
+ 'homepageUrl': '',
+ 'icon_big': 'chrome://extension-icon/' +
+ 'ahfgeienlihckogmohjhadlkjgocpleb/128/1',
+ 'icon_big_exists': false,
+ 'icon_small': 'chrome://extension-icon/' +
+ 'ahfgeienlihckogmohjhadlkjgocpleb/16/1',
+ 'icon_small_exists': false,
+ 'id': 'ahfgeienlihckogmohjhadlkjgocpleb',
+ 'is_component': true,
+ 'is_webstore': true,
+ 'launch_container': 2,
+ 'launch_type': 1,
+ 'mayDisable': false,
+ 'name': 'Chrome Web Store',
+ 'notifications_disabled': false,
+ 'offlineEnabled': false,
+ 'optionsUrl': '',
+ 'page_index': 0,
+ 'title': 'Chrome Web Store',
+ 'url': 'https://chrome.google.com/webstore',
+ 'version': '0.1'
+ }
+ ],
+ 'showLauncher': false,
+ 'showPromo': false
+ }
+ ],
+ 'getRecentlyClosedTabs': [
+ [
+ {
+ 'sessionId': 2,
+ 'tabs': [
+ {
+ 'direction': 'ltr',
+ 'timestamp': 0,
+ 'title': 'YouTube - Broadcast Yourself.',
+ 'type': 'tab',
+ 'url': 'http://youtube.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'timestamp': 0,
+ 'title': 'CNN.com - Breaking News, U.S., World, Weather, ' +
+ 'Entertainment & Video News',
+ 'type': 'tab',
+ 'url': 'http://cnn.com/'
+ }
+ ],
+ 'timestamp': 1343253129.824551,
+ 'type': 'window'
+ },
+ {
+ 'direction': 'ltr',
+ 'sessionId': 1,
+ 'timestamp': 1343253127.485749,
+ 'title': 'Electronics, Cars, Fashion, Collectibles, Coupons and ' +
+ 'More Online Shopping | eBay',
+ 'type': 'tab',
+ 'url': 'http://ebay.com/'
+ }
+ ]
+ ],
+ 'getMostVisited': [
+ [
+ {
+ 'direction': 'ltr',
+ 'title': 'Wikipedia',
+ 'url': 'http://www.wikipedia.org/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'deviantART: where ART meets application!',
+ 'url': 'http://www.deviantart.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'WEFUNK Radio - Hip-Hop & The Original Funk',
+ 'url': 'http://wefunkradio.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'YouTube - Broadcast Yourself.',
+ 'url': 'http://youtube.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'Amazon.com: Online Shopping for Electronics, Apparel, ' +
+ 'Computers, Books, DVDs & more',
+ 'url': 'http://amazon.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'The New York Times - Breaking News, World News & Multimedia',
+ 'url': 'http://nytimes.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'Hacker News',
+ 'url': 'http://news.ycombinator.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'CNN.com - Breaking News, U.S., World, Weather, ' +
+ 'Entertainment & Video News',
+ 'url': 'http://cnn.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'Electronics, Cars, Fashion, Collectibles, Coupons ' +
+ 'and More Online Shopping | eBay',
+ 'url': 'http://ebay.com/'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'Welcome to Chromium',
+ 'url': 'http://www.google.com/chrome/intl/en/welcome.html'
+ },
+ {
+ 'direction': 'ltr',
+ 'title': 'Chrome Web Store',
+ 'url': 'https://chrome.google.com/webstore?hl=en'
+ }
+ ],
+ false
+ ],
+ '__loadTimeData__': {
+ 'anim': true,
+ 'appDefaultPageName': 'Apps',
+ 'appInstallHintText': 'Add more apps',
+ 'appcreateshortcut': 'Create Shortcut',
+ 'appdisablenotifications': 'Disable Notifications',
+ 'applaunchtypefullscreen': 'Open Full Screen',
+ 'applaunchtypepinned': 'Open as Pinned Tab',
+ 'applaunchtyperegular': 'Open as Regular Tab',
+ 'applaunchtypewindow': 'Open as Window',
+ 'appoptions': 'Options',
+ 'apps_page_id': 2048,
+ 'appuninstall': 'Remove from Chromium',
+ 'attributionintro': 'Theme created by',
+ 'bookmarkbarattached': false,
+ 'closedwindowmultiple': '$1 Tabs',
+ 'closedwindowsingle': '1 Tab',
+ 'collapseSessionMenuItemText': 'Collapse list',
+ 'expandSessionMenuItemText': 'Expand list',
+ 'fontfamily': 'DejaVu Sans, Arial, sans-serif',
+ 'fontsize': '75%',
+ 'hasattribution': false,
+ 'isSuggestionsPageEnabled': false,
+ 'isSwipeTrackingFromScrollEventsEnabled': false,
+ 'isUserSignedIn': false,
+ 'learnMore': 'Learn more',
+ 'learn_more': 'Learn more',
+ 'login_status_advanced': '',
+ 'login_status_dismiss': '',
+ 'login_status_message': '',
+ 'login_status_url': '',
+ 'most_visited_page_id': 1024,
+ 'mostvisited': 'Most visited',
+ 'otherSessions': 'Other devices',
+ 'otherSessionsEmpty': 'Access your open tabs on all of your devices.',
+ 'otherSessionsLearnMoreUrl': 'http://support.google.com/chrome/bin/' +
+ 'answer.py?answer=185277&hl=en',
+ 'recentlyclosed': 'Recently closed',
+ 'removethumbnailtooltip': 'Don\'t show on this page',
+ 'restoreSessionMenuItemText': 'Open all',
+ 'restoreThumbnailsShort': 'Restore all',
+ 'showApps': true,
+ 'showOtherSessionsMenu': true,
+ 'shown_page_index': 0,
+ 'shown_page_type': 1024,
+ 'suggestions': 'Suggested',
+ 'suggestions_page_id': 4096,
+ 'syncLinkText': 'Advanced settings',
+ 'syncpromotext': 'Sign in to $1',
+ 'textdirection': 'ltr',
+ 'themegravity': '',
+ 'thumbnailremovednotification': 'Thumbnail removed.',
+ 'title': 'New Tab',
+ 'undothumbnailremove': 'Undo',
+ 'webStoreLink': 'https://chrome.google.com/webstore?hl=en-US',
+ 'webStoreTitle': 'Chrome Web Store',
+ 'webStoreTitleShort': 'Web Store'
+ }
+});
« no previous file with comments | « chrome/browser/resources/ntp_search/mock/mock.js ('k') | chrome/browser/resources/ntp_search/most_visited_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698