Home
last modified time | relevance | path

Searched refs:ExtensionMessageBundle (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/common/extensions/
Dextension_message_bundle.cc26 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 …]
Dextension_message_bundle_unittest.cc47 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 …]
Dextension_message_bundle.h19 class ExtensionMessageBundle {
57 static ExtensionMessageBundle* Create(const CatalogVector& locale_catalogs,
102 ~ExtensionMessageBundle();
109 ExtensionMessageBundle();
Dextension_l10n_util_unittest.cc122 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 …]
Dextension_l10n_util.h17 class ExtensionMessageBundle; variable
41 bool LocalizeManifest(const ExtensionMessageBundle& messages,
85 ExtensionMessageBundle* LoadMessageCatalogs(
Dextension_l10n_util.cc66 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()
Dextension_file_util.h15 class ExtensionMessageBundle; variable
64 ExtensionMessageBundle* LoadExtensionMessageBundle(
Dextension_localization_peer.cc119 if (ExtensionMessageBundle::ReplaceMessagesWithExternalDictionary( in ReplaceMessages()
Dextension_file_util.cc370 ExtensionMessageBundle* LoadExtensionMessageBundle( in LoadExtensionMessageBundle()
391 ExtensionMessageBundle* message_bundle = in LoadExtensionMessageBundle()
/external/chromium/chrome/browser/renderer_host/
Dchrome_render_message_filter.cc212 scoped_ptr<ExtensionMessageBundle> bundle( in OnGetExtensionMessageBundleOnFileThread()
223 std::make_pair(ExtensionMessageBundle::kExtensionIdKey, extension_id)); in OnGetExtensionMessageBundleOnFileThread()