/external/chromium/chrome/browser/chromeos/notifications/ |
H A D | system_notification_factory.cc | 19 const string16& text, 22 icon, title, text, WebKit::WebTextDirectionDefault); 30 const string16& text, const string16& link, 39 subst.push_back(EscapeForHTML(UTF16ToUTF8(text))); 43 // body text direction 17 Create( const GURL& icon, const string16& title, const string16& text, NotificationDelegate* delegate) argument 28 Create( const GURL& icon, const string16& title, const string16& text, const string16& link, NotificationDelegate* delegate) argument
|
/external/chromium/chrome/browser/geolocation/ |
H A D | geolocation_exceptions_table_model_unittest.cc | 128 string16 text = model_->GetText(0, IDS_EXCEPTIONS_HOSTNAME_HEADER); local 129 EXPECT_EQ(content_settings_helper::OriginToString16(kUrl0), text); local 132 text = model_->GetText(1, IDS_EXCEPTIONS_HOSTNAME_HEADER); 133 EXPECT_NE(content_settings_helper::OriginToString16(kUrl1), text); local 135 text.find(content_settings_helper::OriginToString16(kUrl1))); 137 text = model_->GetText(2, IDS_EXCEPTIONS_HOSTNAME_HEADER); 138 EXPECT_NE(content_settings_helper::OriginToString16(kUrl2), text); local 140 text.find(content_settings_helper::OriginToString16(kUrl2)));
|
/external/chromium/chrome/browser/ui/gtk/infobars/ |
H A D | translate_message_infobar_gtk.cc | 25 std::string text = UTF16ToUTF8(GetDelegate()->GetMessageInfoBarText()); local 26 gtk_box_pack_start(GTK_BOX(hbox), CreateLabel(text.c_str()), FALSE, FALSE, 0);
|
/external/chromium/chrome/browser/ui/views/ |
H A D | profile_menu_button.cc | 7 #include "ui/base/text/text_elider.h" 34 const std::wstring& text, 36 MenuButton(listener, text, menu_delegate, true) { 49 void ProfileMenuButton::SetText(const std::wstring& text) { argument 50 MenuButton::SetText(ui::ElideText(text, font(), kMaxTextWidth, false)); 33 ProfileMenuButton(ButtonListener* listener, const std::wstring& text, ViewMenuDelegate* menu_delegate) argument
|
H A D | ssl_client_certificate_selector_win.cc | 45 std::wstring text = UTF16ToWide(l10n_util::GetStringFUTF16( local 50 title.c_str(), text.c_str(), 0, 0, NULL);
|
/external/chromium/net/ftp/ |
H A D | ftp_directory_listing_parser.cc | 38 // Parses |text| as an FTP directory listing. Fills in |entries| 40 int ParseListing(const string16& text, argument 46 base::SplitString(text, '\n', &lines); 78 // Detects encoding of |text| and parses it as an FTP directory listing. 80 int DecodeAndParse(const std::string& text, argument 85 if (!base::DetectAllEncodings(text, &encodings)) 88 // Use first encoding that can be used to decode the text. 91 if (base::CodepageToUTF16(text, 115 int ParseFtpDirectoryListing(const std::string& text, argument 119 int rv = DecodeAndParse(text, current_tim [all...] |
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppstanzaparser.cc | 74 XmlParseContext * pctx, const char * text, int len) { 76 builder_.CharacterData(pctx, text, len); 73 IncomingCharacterData( XmlParseContext * pctx, const char * text, int len) argument
|
/external/chromium/webkit/glue/ |
H A D | webframe_unittest.cc | 34 string16 text = frame->contentAsText(std::numeric_limits<size_t>::max()); local 35 EXPECT_EQ(expected, text); 37 // Try reading the same one with clipping of the text. 39 text = frame->contentAsText(len); 40 EXPECT_EQ(expected.substr(0, len), text); 51 subframe->loadHTMLString("sub<p>text", test_url); 54 text = frame->contentAsText(std::numeric_limits<size_t>::max()); 55 EXPECT_EQ("Hello world\n\nsub\ntext", UTF16ToUTF8(text)); 57 // Get the frame text where the subframe separator falls on the boundary of 59 text 73 string16 text = frame->contentAsText(std::numeric_limits<size_t>::max()); local [all...] |
/external/chromium_org/ash/shell/ |
H A D | lock_view.cc | 44 base::string16 text = ASCIIToUTF16("LOCKED!"); variable 45 int string_width = font_.GetStringWidth(text); 46 canvas->DrawStringInt(text, font_, SK_ColorRED, (width() - string_width)/ 2,
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | autocomplete_classifier.cc | 49 void AutocompleteClassifier::Classify(const string16& text, argument 57 text, string16::npos, string16(), GURL(),
|
/external/chromium_org/chrome/browser/extensions/api/input/ |
H A D | input.cc | 32 string16 text; local 33 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &text)); 35 return keyboard::InsertText(text, ash::Shell::GetPrimaryRootWindow());
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
H A D | device_id.cc | 15 // Compute HMAC-SHA256(|key|, |text|) as a string. 17 const std::string& text, 23 hmac.Sign(text, &digest[0], digest.size()); 16 ComputeHmacSha256(const std::string& key, const std::string& text, std::string* signature_return) argument
|
/external/chromium_org/chrome/browser/omnibox/ |
H A D | omnibox_log.cc | 8 const string16& text, 18 : text(text), 7 OmniboxLog( const string16& text, bool just_deleted_text, AutocompleteInput::Type input_type, size_t selected_index, SessionID::id_type tab_id, AutocompleteInput::PageClassification current_page_classification, base::TimeDelta elapsed_time_since_user_first_modified_omnibox, size_t completed_length, base::TimeDelta elapsed_time_since_last_change_to_default_match, const AutocompleteResult& result) argument
|
H A D | omnibox_log.h | 22 const string16& text, 34 // The user's input text in the omnibox. 35 string16 text; member in struct:OmniboxLog 37 // Whether the user deleted text immediately before selecting an omnibox 55 // The amount of time since the user first began modifying the text 56 // in the omnibox. If at some point after modifying the text, the
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spelling_service_client.h | 28 // text there. This class creates a JSON-RPC request, sends the request to the 47 // void MyTextCheck(Profile* profile, const string16& text) { 49 // client_->RequestTextCheck(profile, 0, text, 62 // * SPELLCHECK: Spellchecking text (used by Google Docs). 71 const string16& /* text */, 78 // Sends a text-check request to the Spelling service. When we send a request 80 // does not mean the service finishes checking text successfully.) We will 81 // call |callback| when we receive a text-check response from the service. 84 const string16& text, 97 TextCheckCallbackData(TextCheckCompleteCallback callback, string16 text); 105 string16 text; member in struct:SpellingServiceClient::TextCheckCallbackData [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | tokenized_string.h | 24 explicit TokenizedString(const string16& text); 27 const string16& text() const { return text_; } function in class:app_list::TokenizedString 34 // Input text.
|
H A D | tokenized_string_char_iterator_unittest.cc | 22 // the current char in terms of the original text of the TokenizedString. The 40 void TestEveryChar(const std::string& text, const std::string& expects) { argument 41 TokenizedString tokens(UTF8ToUTF16(text)); 54 void TestNextToken(const std::string& text, const std::string& expects) { argument 55 TokenizedString tokens(UTF8ToUTF16(text)); 68 void TestFirstTwoCharInEveryToken(const std::string& text, argument 70 TokenizedString tokens(UTF8ToUTF16(text)); 89 const char* text; local 91 text = ""; 92 TestEveryChar(text, ""); 103 const char* text; local [all...] |
H A D | tokenized_string_match.cc | 14 // the current char of the text to be matched. Different factors are chosen 16 // matched portion is a prefix of both the query and the text, which implies 17 // that the matched chars are at the same position in query and text. This is 19 // of the query and the text does not match, the algorithm moves to the next 20 // token in the text and try to match from there. kIsFrontOfWordMultipler will 25 // Suppose the text to be matched is 'Google Chrome'. 46 const TokenizedString& text) { 53 TokenizedStringCharIterator text_iter(text); 91 // enough compared with using real char count of the text. 92 if (text 45 Calculate(const TokenizedString& query, const TokenizedString& text) argument 98 Calculate(const string16& query, const string16& text) argument [all...] |
H A D | tokenized_string_match_unittest.cc | 15 // Returns a string of |text| marked the hits in |match| using block bracket. 16 // e.g. text= "Text", hits = [{0,1}], returns "[T]ext". 17 std::string MatchHit(const string16& text, argument 19 string16 marked = text; 34 const char* text; member in struct:app_list::test::__anon5971 39 { "text", "" }, 47 const string16 text(UTF8ToUTF16(kTestCases[i].text)); 48 EXPECT_FALSE(match.Calculate(UTF8ToUTF16(kTestCases[i].query), text)) 50 << " : text 57 const char* text; member in struct:app_list::test::__anon5972 81 const char* text; member in struct:app_list::test::__anon5973 [all...] |
/external/chromium_org/chrome/browser/ui/find_bar/ |
H A D | find_bar_state_factory.cc | 21 string16 text = state->last_prepopulate_text(); local 23 if (text.empty() && p->IsOffTheRecord()) { 26 text = state->last_prepopulate_text(); 29 return text;
|
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
H A D | translate_message_infobar_gtk.cc | 28 std::string text = UTF16ToUTF8(GetDelegate()->GetMessageInfoBarText()); local 29 gtk_box_pack_start(GTK_BOX(new_hbox), CreateLabel(text.c_str()), FALSE, FALSE,
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | crypto_module_password_dialog_view_unittest.cc | 22 void Capture(const char* text) { argument 23 text_ = text; 48 EXPECT_EQ(empty, dialog_->password_entry_->text());
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdemo/ |
H A D | ttsdemo.js | 7 var text; variable 18 text = document.getElementById('srctext'); 73 text.setSelectionRange(0, event.charIndex); 106 speak(text.value, options, true);
|
/external/chromium_org/chrome/common/ |
H A D | icon_with_badge_image_source.cc | 15 const std::string& text, 22 text_(text), 11 IconWithBadgeImageSource( const gfx::ImageSkia& icon, const gfx::Size& icon_size, const gfx::Size& spacing, const std::string& text, const SkColor& text_color, const SkColor& background_color, extensions::ActionInfo::Type action_type) argument
|
H A D | tts_utterance_request.h | 18 std::string text; member in struct:TtsUtteranceRequest
|