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

Side by Side Diff: chrome/browser/extensions/api/developer_private/developer_private_api.cc

Issue 15810003: App Developer Tools: Implemented separate tabs for unpacked apps and extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@242747-appdevtools-ux
Patch Set: Make sure the proper patch will be applied. Created 7 years, 7 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
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/extensions/api/developer_private/developer_private_api. h" 5 #include "chrome/browser/extensions/api/developer_private/developer_private_api. h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/i18n/file_util_icu.h" 10 #include "base/i18n/file_util_icu.h"
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 webui::SetFontAndTextDirection(dict); 1229 webui::SetFontAndTextDirection(dict);
1230 1230
1231 #define SET_STRING(id, idr) \ 1231 #define SET_STRING(id, idr) \
1232 dict->SetString(id, l10n_util::GetStringUTF16(idr)) 1232 dict->SetString(id, l10n_util::GetStringUTF16(idr))
1233 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); 1233 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE);
1234 1234
1235 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH); 1235 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH);
1236 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED); 1236 SET_STRING("appsDevtoolNoApps", IDS_APPS_DEVTOOL_NO_APPS_INSTALLED);
1237 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED); 1237 SET_STRING("appsDevtoolApps", IDS_APPS_DEVTOOL_APPS_INSTALLED);
1238 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED); 1238 SET_STRING("appsDevtoolExtensions", IDS_APPS_DEVTOOL_EXTENSIONS_INSTALLED);
1239 SET_STRING("appsDevtoolNoExtensions", 1239 SET_STRING("appsDevtoolNoExtensions", IDS_EXTENSIONS_NONE_INSTALLED);
1240 IDS_EXTENSIONS_NONE_INSTALLED); 1240 SET_STRING("appsDevtoolUnpacked", IDS_APPS_DEVTOOL_UNPACKED_INSTALLED);
1241 SET_STRING("appsDevtoolNoUnpacked", IDS_APPS_DEVTOOL_NO_UNPACKED_INSTALLED);
1241 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); 1242 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE);
1242 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); 1243 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS);
1243 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); 1244 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID);
1244 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); 1245 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH);
1245 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); 1246 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS);
1246 SET_STRING("extensionSettingsInstallWarnings", 1247 SET_STRING("extensionSettingsInstallWarnings",
1247 IDS_EXTENSIONS_INSTALL_WARNINGS); 1248 IDS_EXTENSIONS_INSTALL_WARNINGS);
1248 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); 1249 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO);
1249 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); 1250 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE);
1250 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); 1251 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 1301
1301 #undef SET_STRING 1302 #undef SET_STRING
1302 return true; 1303 return true;
1303 } 1304 }
1304 1305
1305 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} 1306 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {}
1306 1307
1307 } // namespace api 1308 } // namespace api
1308 1309
1309 } // namespace extensions 1310 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/apps_debugger/css/items.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698