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

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

Issue 10843063: Promo for buying Drive storage when you're low on space (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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 | 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 FORMAT_DEVICE_BUTTON_LABEL: 'Format', 541 FORMAT_DEVICE_BUTTON_LABEL: 'Format',
542 542
543 GDATA_MENU_HELP: 'Help', 543 GDATA_MENU_HELP: 'Help',
544 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync', 544 GDATA_MOBILE_CONNECTION_OPTION: 'Do not use mobile data for sync',
545 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files', 545 GDATA_SHOW_HOSTED_FILES_OPTION: 'Show Google Docs files',
546 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...', 546 GDATA_WAITING_FOR_SPACE_INFO: 'Waiting for space info...',
547 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info', 547 GDATA_FAILED_SPACE_INFO: 'Failed to retrieve space info',
548 GDATA_BUY_MORE_SPACE: 'Buy more storage...', 548 GDATA_BUY_MORE_SPACE: 'Buy more storage...',
549 GDATA_SPACE_AVAILABLE: '$1 left', 549 GDATA_SPACE_AVAILABLE: '$1 left',
550 550
551 GDATA_BUY_MORE_SPACE_LINK: 'Buy more storage',
552 GDATA_SPACE_AVAILABLE_LONG: 'Google Drive space left: $1.',
553
551 OFFLINE_COLUMN_LABEL: 'Available offline', 554 OFFLINE_COLUMN_LABEL: 'Available offline',
552 GDATA_LOADING: 'Hang with us. We\'re fetching your files.', 555 GDATA_LOADING: 'Hang with us. We\'re fetching your files.',
553 GDATA_RETRY: 'Retry', 556 GDATA_RETRY: 'Retry',
554 GDATA_LEARN_MORE: 'Learn more', 557 GDATA_LEARN_MORE: 'Learn more',
555 GDATA_CANNOT_REACH: '$1 cannot be reached at this time', 558 GDATA_CANNOT_REACH: '$1 cannot be reached at this time',
556 559
557 GDATA_WELCOME_TITLE: 'Welcome to Google Drive!', 560 GDATA_WELCOME_TITLE: 'Welcome to Google Drive!',
558 GDATA_WELCOME_TITLE_ALTERNATIVE: 'Get 100 GB free with Google Drive', 561 GDATA_WELCOME_TITLE_ALTERNATIVE: 'Get 100 GB free with Google Drive',
559 GDATA_WELCOME_TEXT_SHORT: 562 GDATA_WELCOME_TEXT_SHORT:
560 'All files saved in this folder are backed up online automatically', 563 'All files saved in this folder are backed up online automatically',
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 804
802 setWindowHeight: function(height) { 805 setWindowHeight: function(height) {
803 this.popup_.style.height = height + 'px'; 806 this.popup_.style.height = height + 'px';
804 }, 807 },
805 808
806 closeWindow: function() { 809 closeWindow: function() {
807 this.popup_.parentNode.removeChild(this.popup_); 810 this.popup_.parentNode.removeChild(this.popup_);
808 this.popup_ = null; 811 this.popup_ = null;
809 } 812 }
810 }; 813 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698