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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 13061003: Files.app: add 'search Drive' to the top of the auto-complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/css/file_manager.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_browser_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
index 641944641c53a2f4a120043cbfd75f5fee8df567..8479bb555a46d2863b2ad97caf96c48b20ab66ff 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
@@ -2311,6 +2311,7 @@ bool FileDialogStringsFunction::RunImpl() {
SET_STRING("FILE_ERROR_QUOTA_EXCEEDED",
IDS_FILE_BROWSER_FILE_ERROR_QUOTA_EXCEEDED);
+ SET_STRING("SEARCH_DRIVE_HTML", IDS_FILE_BROWSER_SEARCH_DRIVE_HTML);
SET_STRING("SEARCH_NO_MATCHING_FILES_HTML",
IDS_FILE_BROWSER_SEARCH_NO_MATCHING_FILES_HTML);
SET_STRING("SEARCH_EXPAND", IDS_FILE_BROWSER_SEARCH_EXPAND);
@@ -3074,7 +3075,7 @@ void SearchDriveMetadataFunction::OnFileSystemOpened(
return;
}
- const int kAtMostNumMatches = 5;
+ const int kAtMostNumMatches = 4;
drive::SearchMetadata(
system_service->file_system(),
query_,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/css/file_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698