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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 11788026: Fixed flickering "Computing selection" label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polished. Created 7 years, 11 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 #include "chrome/browser/chromeos/extensions/file_browser_private_api.h" 5 #include "chrome/browser/chromeos/extensions/file_browser_private_api.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/statvfs.h> 8 #include <sys/statvfs.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <utime.h> 10 #include <utime.h>
(...skipping 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 SET_STRING(IDS_FILE_BROWSER, DRIVE_FAILED_SPACE_INFO); 2068 SET_STRING(IDS_FILE_BROWSER, DRIVE_FAILED_SPACE_INFO);
2069 SET_STRING(IDS_FILE_BROWSER, DRIVE_BUY_MORE_SPACE); 2069 SET_STRING(IDS_FILE_BROWSER, DRIVE_BUY_MORE_SPACE);
2070 SET_STRING(IDS_FILE_BROWSER, DRIVE_BUY_MORE_SPACE_LINK); 2070 SET_STRING(IDS_FILE_BROWSER, DRIVE_BUY_MORE_SPACE_LINK);
2071 SET_STRING(IDS_FILE_BROWSER, DRIVE_VISIT_DRIVE_GOOGLE_COM); 2071 SET_STRING(IDS_FILE_BROWSER, DRIVE_VISIT_DRIVE_GOOGLE_COM);
2072 2072
2073 SET_STRING(IDS_FILE_BROWSER, SELECT_FOLDER_TITLE); 2073 SET_STRING(IDS_FILE_BROWSER, SELECT_FOLDER_TITLE);
2074 SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_FILE_TITLE); 2074 SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_FILE_TITLE);
2075 SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_MULTI_FILE_TITLE); 2075 SET_STRING(IDS_FILE_BROWSER, SELECT_OPEN_MULTI_FILE_TITLE);
2076 SET_STRING(IDS_FILE_BROWSER, SELECT_SAVEAS_FILE_TITLE); 2076 SET_STRING(IDS_FILE_BROWSER, SELECT_SAVEAS_FILE_TITLE);
2077 2077
2078 SET_STRING(IDS_FILE_BROWSER, COMPUTING_SELECTION);
2079 SET_STRING(IDS_FILE_BROWSER, MANY_FILES_SELECTED); 2078 SET_STRING(IDS_FILE_BROWSER, MANY_FILES_SELECTED);
2080 SET_STRING(IDS_FILE_BROWSER, MANY_DIRECTORIES_SELECTED); 2079 SET_STRING(IDS_FILE_BROWSER, MANY_DIRECTORIES_SELECTED);
2081 SET_STRING(IDS_FILE_BROWSER, MANY_ENTRIES_SELECTED); 2080 SET_STRING(IDS_FILE_BROWSER, MANY_ENTRIES_SELECTED);
2082 SET_STRING(IDS_FILE_BROWSER, CALCULATING_SIZE); 2081 SET_STRING(IDS_FILE_BROWSER, CALCULATING_SIZE);
2083 2082
2084 SET_STRING(IDS_FILE_BROWSER, OFFLINE_HEADER); 2083 SET_STRING(IDS_FILE_BROWSER, OFFLINE_HEADER);
2085 SET_STRING(IDS_FILE_BROWSER, OFFLINE_MESSAGE); 2084 SET_STRING(IDS_FILE_BROWSER, OFFLINE_MESSAGE);
2086 SET_STRING(IDS_FILE_BROWSER, OFFLINE_MESSAGE_PLURAL); 2085 SET_STRING(IDS_FILE_BROWSER, OFFLINE_MESSAGE_PLURAL);
2087 SET_STRING(IDS_FILE_BROWSER, HOSTED_OFFLINE_MESSAGE); 2086 SET_STRING(IDS_FILE_BROWSER, HOSTED_OFFLINE_MESSAGE);
2088 SET_STRING(IDS_FILE_BROWSER, HOSTED_OFFLINE_MESSAGE_PLURAL); 2087 SET_STRING(IDS_FILE_BROWSER, HOSTED_OFFLINE_MESSAGE_PLURAL);
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
3013 // Keep the refcount until the zipping is complete on utility process. 3012 // Keep the refcount until the zipping is complete on utility process.
3014 AddRef(); 3013 AddRef();
3015 return true; 3014 return true;
3016 } 3015 }
3017 3016
3018 void ZipSelectionFunction::OnZipDone(bool success) { 3017 void ZipSelectionFunction::OnZipDone(bool success) {
3019 SetResult(new base::FundamentalValue(success)); 3018 SetResult(new base::FundamentalValue(success));
3020 SendResponse(true); 3019 SendResponse(true);
3021 Release(); 3020 Release();
3022 } 3021 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698