Searched refs:ExtensionMessageBundle (Results 1 – 10 of 10) sorted by relevance
/external/chromium/chrome/common/extensions/ |
D | extension_message_bundle.cc | 26 const char* ExtensionMessageBundle::kContentKey = "content"; 27 const char* ExtensionMessageBundle::kMessageKey = "message"; 28 const char* ExtensionMessageBundle::kPlaceholdersKey = "placeholders"; 30 const char* ExtensionMessageBundle::kPlaceholderBegin = "$"; 31 const char* ExtensionMessageBundle::kPlaceholderEnd = "$"; 32 const char* ExtensionMessageBundle::kMessageBegin = "__MSG_"; 33 const char* ExtensionMessageBundle::kMessageEnd = "__"; 36 const char* ExtensionMessageBundle::kUILocaleKey = "@@ui_locale"; 37 const char* ExtensionMessageBundle::kBidiDirectionKey = "@@bidi_dir"; 38 const char* ExtensionMessageBundle::kBidiReversedDirectionKey = [all …]
|
D | extension_message_bundle_unittest.cc | 47 content_tree->SetString(ExtensionMessageBundle::kContentKey, content); in CreateContentTree() 56 SetDictionary(ExtensionMessageBundle::kPlaceholdersKey, in CreatePlaceholdersTree() 68 message_tree->SetString(ExtensionMessageBundle::kMessageKey, message); in CreateMessageTree() 127 void CheckReservedMessages(ExtensionMessageBundle* handler) { in CheckReservedMessages() 130 handler->GetL10nMessage(ExtensionMessageBundle::kUILocaleKey)); in CheckReservedMessages() 138 ExtensionMessageBundle::kBidiDirectionKey)); in CheckReservedMessages() 149 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error)); in CreateMessageBundle() 158 scoped_ptr<ExtensionMessageBundle> handler_; 222 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error)); in TEST_F() 227 handler_.reset(ExtensionMessageBundle::Create(catalogs_, &error)); in TEST_F() [all …]
|
D | extension_message_bundle.h | 19 class ExtensionMessageBundle { 57 static ExtensionMessageBundle* Create(const CatalogVector& locale_catalogs, 102 ~ExtensionMessageBundle(); 109 ExtensionMessageBundle();
|
D | extension_l10n_util_unittest.cc | 122 scoped_ptr<ExtensionMessageBundle> bundle( in TEST() 207 scoped_ptr<ExtensionMessageBundle> message_bundle( in TEST() 218 ExtensionMessageBundle* CreateManifestBundle() { in CreateManifestBundle() 245 ExtensionMessageBundle* bundle = in CreateManifestBundle() 246 ExtensionMessageBundle::Create(catalogs, &error); in CreateManifestBundle() 256 scoped_ptr<ExtensionMessageBundle> messages(CreateManifestBundle()); in TEST() 267 scoped_ptr<ExtensionMessageBundle> messages(CreateManifestBundle()); in TEST() 285 scoped_ptr<ExtensionMessageBundle> messages(CreateManifestBundle()); in TEST() 304 scoped_ptr<ExtensionMessageBundle> messages(CreateManifestBundle()); in TEST() 329 scoped_ptr<ExtensionMessageBundle> messages(CreateManifestBundle()); in TEST() [all …]
|
D | extension_l10n_util.h | 17 class ExtensionMessageBundle; variable 41 bool LocalizeManifest(const ExtensionMessageBundle& messages, 85 ExtensionMessageBundle* LoadMessageCatalogs(
|
D | extension_l10n_util.cc | 66 const ExtensionMessageBundle& messages, in LocalizeManifestValue() 80 bool LocalizeManifest(const ExtensionMessageBundle& messages, in LocalizeManifest() 142 scoped_ptr<ExtensionMessageBundle> message_bundle( in LocalizeExtension() 260 ExtensionMessageBundle* LoadMessageCatalogs( in LoadMessageCatalogs() 288 return ExtensionMessageBundle::Create(catalogs, error); in LoadMessageCatalogs()
|
D | extension_file_util.h | 15 class ExtensionMessageBundle; variable 64 ExtensionMessageBundle* LoadExtensionMessageBundle(
|
D | extension_localization_peer.cc | 119 if (ExtensionMessageBundle::ReplaceMessagesWithExternalDictionary( in ReplaceMessages()
|
D | extension_file_util.cc | 370 ExtensionMessageBundle* LoadExtensionMessageBundle( in LoadExtensionMessageBundle() 391 ExtensionMessageBundle* message_bundle = in LoadExtensionMessageBundle()
|
/external/chromium/chrome/browser/renderer_host/ |
D | chrome_render_message_filter.cc | 212 scoped_ptr<ExtensionMessageBundle> bundle( in OnGetExtensionMessageBundleOnFileThread() 223 std::make_pair(ExtensionMessageBundle::kExtensionIdKey, extension_id)); in OnGetExtensionMessageBundleOnFileThread()
|