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

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

Issue 12696006: search box text change in apps_Devtools app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comments Created 7 years, 8 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/file_util.h" 8 #include "base/file_util.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 bool DeveloperPrivateGetStringsFunction::RunImpl() { 786 bool DeveloperPrivateGetStringsFunction::RunImpl() {
787 DictionaryValue* dict = new DictionaryValue(); 787 DictionaryValue* dict = new DictionaryValue();
788 SetResult(dict); 788 SetResult(dict);
789 789
790 #define SET_STRING(id, idr) \ 790 #define SET_STRING(id, idr) \
791 dict->SetString(id, l10n_util::GetStringUTF16(idr)) 791 dict->SetString(id, l10n_util::GetStringUTF16(idr))
792 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE); 792 SET_STRING("extensionSettings", IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE);
793 793
794 SET_STRING("appsDevtoolNoItems", 794 SET_STRING("appsDevtoolNoItems",
795 IDS_APPS_DEVTOOL_NONE_INSTALLED); 795 IDS_APPS_DEVTOOL_NONE_INSTALLED);
796 SET_STRING("appsDevtoolSearch", IDS_APPS_DEVTOOL_SEARCH);
796 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE); 797 SET_STRING("appsDevtoolTitle", IDS_APPS_DEVTOOL_TITLE);
797 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS); 798 SET_STRING("extensionSettingsGetMoreExtensions", IDS_GET_MORE_EXTENSIONS);
798 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID); 799 SET_STRING("extensionSettingsExtensionId", IDS_EXTENSIONS_ID);
799 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH); 800 SET_STRING("extensionSettingsExtensionPath", IDS_EXTENSIONS_PATH);
800 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS); 801 SET_STRING("extensionSettingsInspectViews", IDS_EXTENSIONS_INSPECT_VIEWS);
801 SET_STRING("extensionSettingsInstallWarnings", 802 SET_STRING("extensionSettingsInstallWarnings",
802 IDS_EXTENSIONS_INSTALL_WARNINGS); 803 IDS_EXTENSIONS_INSTALL_WARNINGS);
803 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO); 804 SET_STRING("viewIncognito", IDS_EXTENSIONS_VIEW_INCOGNITO);
804 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE); 805 SET_STRING("viewInactive", IDS_EXTENSIONS_VIEW_INACTIVE);
805 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE); 806 SET_STRING("extensionSettingsEnable", IDS_EXTENSIONS_ENABLE);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 858
858 #undef SET_STRING 859 #undef SET_STRING
859 return true; 860 return true;
860 } 861 }
861 862
862 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {} 863 DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {}
863 864
864 } // namespace api 865 } // namespace api
865 866
866 } // namespace extensions 867 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/apps_debugger/js/items_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698