Lines Matching refs:ExtensionMessageBundle
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 =
40 const char* ExtensionMessageBundle::kBidiStartEdgeKey = "@@bidi_start_edge";
41 const char* ExtensionMessageBundle::kBidiEndEdgeKey = "@@bidi_end_edge";
42 const char* ExtensionMessageBundle::kExtensionIdKey = "@@extension_id";
45 const char* ExtensionMessageBundle::kBidiLeftEdgeValue = "left";
46 const char* ExtensionMessageBundle::kBidiRightEdgeValue = "right";
59 ExtensionMessageBundle* ExtensionMessageBundle::Create( in Create()
62 scoped_ptr<ExtensionMessageBundle> message_bundle( in Create()
63 new ExtensionMessageBundle); in Create()
70 bool ExtensionMessageBundle::Init(const CatalogVector& locale_catalogs, in Init()
97 bool ExtensionMessageBundle::AppendReservedMessagesForLocale( in AppendReservedMessagesForLocale()
132 bool ExtensionMessageBundle::GetMessageValue(const std::string& key, in GetMessageValue()
159 ExtensionMessageBundle::ExtensionMessageBundle() { in ExtensionMessageBundle() function in ExtensionMessageBundle
162 bool ExtensionMessageBundle::GetPlaceholders(const DictionaryValue& name_tree, in GetPlaceholders()
201 bool ExtensionMessageBundle::ReplacePlaceholders( in ReplacePlaceholders()
212 bool ExtensionMessageBundle::ReplaceMessages(std::string* text, in ReplaceMessages()
217 ExtensionMessageBundle::~ExtensionMessageBundle() { in ~ExtensionMessageBundle()
221 bool ExtensionMessageBundle::ReplaceMessagesWithExternalDictionary( in ReplaceMessagesWithExternalDictionary()
227 bool ExtensionMessageBundle::ReplaceVariables( in ReplaceVariables()
280 bool ExtensionMessageBundle::IsValidName(const std::string& name) { in IsValidName()
296 std::string ExtensionMessageBundle::GetL10nMessage( in GetL10nMessage()
302 std::string ExtensionMessageBundle::GetL10nMessage( in GetL10nMessage()