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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc

Issue 2117573002: Storage manager: Update strings and layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary line breaks. Created 4 years, 5 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
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/ui/webui/options/chromeos/storage_manager_handler.h" 5 #include "chrome/browser/ui/webui/options/chromeos/storage_manager_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/sys_info.h" 10 #include "base/sys_info.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 localized_strings->SetString( 81 localized_strings->SetString(
82 "storageSubitemLabelBrowsingData", l10n_util::GetStringUTF16( 82 "storageSubitemLabelBrowsingData", l10n_util::GetStringUTF16(
83 IDS_OPTIONS_SETTINGS_STORAGE_SUBITEM_LABEL_BROWSING_DATA)); 83 IDS_OPTIONS_SETTINGS_STORAGE_SUBITEM_LABEL_BROWSING_DATA));
84 localized_strings->SetString( 84 localized_strings->SetString(
85 "storageSubitemLabelArc", l10n_util::GetStringUTF16( 85 "storageSubitemLabelArc", l10n_util::GetStringUTF16(
86 IDS_OPTIONS_SETTINGS_STORAGE_SUBITEM_LABEL_ARC)); 86 IDS_OPTIONS_SETTINGS_STORAGE_SUBITEM_LABEL_ARC));
87 localized_strings->SetString( 87 localized_strings->SetString(
88 "storageSizeCalculating", l10n_util::GetStringUTF16( 88 "storageSizeCalculating", l10n_util::GetStringUTF16(
89 IDS_OPTIONS_SETTINGS_STORAGE_SIZE_CALCULATING)); 89 IDS_OPTIONS_SETTINGS_STORAGE_SIZE_CALCULATING));
90 localized_strings->SetString( 90 localized_strings->SetString(
91 "storageClearDriveCacheDialogTitle", l10n_util::GetStringUTF16(
92 IDS_OPTIONS_SETTINGS_STORAGE_CLEAR_DRIVE_CACHE_DIALOG_TITLE));
93 localized_strings->SetString(
91 "storageClearDriveCacheDescription", l10n_util::GetStringUTF16( 94 "storageClearDriveCacheDescription", l10n_util::GetStringUTF16(
92 IDS_OPTIONS_SETTINGS_STORAGE_CLEAR_DRIVE_CACHE_DESCRIPTION)); 95 IDS_OPTIONS_SETTINGS_STORAGE_CLEAR_DRIVE_CACHE_DESCRIPTION));
93 localized_strings->SetString( 96 localized_strings->SetString(
94 "storageDeleteAllButtonTitle", l10n_util::GetStringUTF16( 97 "storageDeleteAllButtonTitle", l10n_util::GetStringUTF16(
95 IDS_OPTIONS_SETTINGS_STORAGE_DELETE_ALL_BUTTON_TITLE)); 98 IDS_OPTIONS_SETTINGS_STORAGE_DELETE_ALL_BUTTON_TITLE));
96 localized_strings->SetString( 99 localized_strings->SetString(
97 "storageLowMessageTitle", l10n_util::GetStringUTF16( 100 "storageLowMessageTitle", l10n_util::GetStringUTF16(
98 IDS_OPTIONS_SETTINGS_STORAGE_SPACE_LOW_MESSAGE_TITLE)); 101 IDS_OPTIONS_SETTINGS_STORAGE_SPACE_LOW_MESSAGE_TITLE));
99 localized_strings->SetString( 102 localized_strings->SetString(
100 "storageLowMessageLine1", l10n_util::GetStringUTF16( 103 "storageLowMessageLine1", l10n_util::GetStringUTF16(
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 web_ui()->CallJavascriptFunctionUnsafe("options.StorageManager.setArcSize", 313 web_ui()->CallJavascriptFunctionUnsafe("options.StorageManager.setArcSize",
311 arc_size); 314 arc_size);
312 } 315 }
313 316
314 void StorageManagerHandler::OnClearDriveCacheDone(bool success) { 317 void StorageManagerHandler::OnClearDriveCacheDone(bool success) {
315 UpdateDriveCacheSize(); 318 UpdateDriveCacheSize();
316 } 319 }
317 320
318 } // namespace options 321 } // namespace options
319 } // namespace chromeos 322 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698