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

Side by Side Diff: chrome/browser/resources/file_manager/js/mock_chrome.js

Issue 10909230: Fixed new promo banner showing condition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 function MockEventSource() { 5 function MockEventSource() {
6 this.listeners_ = []; 6 this.listeners_ = [];
7 } 7 }
8 8
9 /** 9 /**
10 * Add a listener. 10 * Add a listener.
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 // extension_file_browser_private_api.cc! 446 // extension_file_browser_private_api.cc!
447 setTimeout(callback, 0, { 447 setTimeout(callback, 0, {
448 // These two are from locale_settings*.grd 448 // These two are from locale_settings*.grd
449 WEB_FONT_FAMILY: 'Open Sans,Chrome Droid Sans,' + 449 WEB_FONT_FAMILY: 'Open Sans,Chrome Droid Sans,' +
450 'Droid Sans Fallback,sans-serif', 450 'Droid Sans Fallback,sans-serif',
451 WEB_FONT_SIZE: '84%', 451 WEB_FONT_SIZE: '84%',
452 452
453 FILE_IS_DIRECTORY: 'Folder', 453 FILE_IS_DIRECTORY: 'Folder',
454 454
455 CHROMEOS_RELEASE_BOARD: 'stumpy', 455 CHROMEOS_RELEASE_BOARD: 'stumpy',
456 BROWSER_VERSION_MODIFIER: '',
457 456
458 GDATA_DIRECTORY_LABEL: 'Google Drive', 457 GDATA_DIRECTORY_LABEL: 'Google Drive',
459 ENABLE_GDATA: true, 458 ENABLE_GDATA: true,
460 PDF_VIEW_ENABLED: true, 459 PDF_VIEW_ENABLED: true,
461 460
462 ROOT_DIRECTORY_LABEL: 'Files', 461 ROOT_DIRECTORY_LABEL: 'Files',
463 DOWNLOADS_DIRECTORY_LABEL: 'Downloads', 462 DOWNLOADS_DIRECTORY_LABEL: 'Downloads',
464 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. &lt ;a href='javascript://'>Learn More</a>", 463 DOWNLOADS_DIRECTORY_WARNING: "<strong>Caution:</strong> These files are temporary and may be automatically deleted to free up disk space. &lt ;a href='javascript://'>Learn More</a>",
465 NAME_COLUMN_LABEL: 'Name', 464 NAME_COLUMN_LABEL: 'Name',
466 SIZE_COLUMN_LABEL: 'Size', 465 SIZE_COLUMN_LABEL: 'Size',
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 858
860 setWindowHeight: function(height) { 859 setWindowHeight: function(height) {
861 this.popup_.style.height = height + 'px'; 860 this.popup_.style.height = height + 'px';
862 }, 861 },
863 862
864 closeWindow: function() { 863 closeWindow: function() {
865 this.popup_.parentNode.removeChild(this.popup_); 864 this.popup_.parentNode.removeChild(this.popup_);
866 this.popup_ = null; 865 this.popup_ = null;
867 } 866 }
868 }; 867 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/drive_banners.js ('k') | chrome/browser/resources/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698