Home
last modified time | relevance | path

Searched refs:selection_text (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/
Dcontext_menu_matcher.cc32 const base::string16& selection_text, in AppendExtensionItems() argument
60 RecursivelyAppendExtensionItems(items, can_cross_incognito, selection_text, in AppendExtensionItems()
73 title = item->TitleWithReplacement(selection_text, in AppendExtensionItems()
87 selection_text, submenu, index); in AppendExtensionItems()
100 const base::string16& selection_text) { in GetTopLevelContextMenuTitle() argument
116 selection_text, kMaxExtensionItemTitleLength); in GetTopLevelContextMenuTitle()
192 const base::string16& selection_text, in RecursivelyAppendExtensionItems() argument
215 base::string16 title = item->TitleWithReplacement(selection_text, in RecursivelyAppendExtensionItems()
227 selection_text, submenu, index); in RecursivelyAppendExtensionItems()
Dcontext_menu_matcher.h38 const base::string16& selection_text,
47 const base::string16& selection_text);
71 const base::string16& selection_text,
/external/chromium_org/content/renderer/
Drender_view_impl_unittest.cc15 const char* selection_text; in TEST() member
31 params.selection_text = UTF8ToUTF16(cases[i].params_selection_text); in TEST()
34 UTF8ToUTF16(cases[i].selection_text), in TEST()
Dcontext_menu_params_builder.cc32 params.selection_text = data.selectedText; in Build()
/external/chromium_org/chrome/browser/tab_contents/
Drender_view_context_menu.cc446 const bool has_selection = !params.selection_text.empty(); in ExtensionContextAndPatternMatch()
579 const bool has_selection = !params_.selection_text.empty(); in InitMenu()
687 const bool has_selection = !params_.selection_text.empty(); in AppendAppModeItems()
704 const bool has_selection = !params_.selection_text.empty(); in AppendPlatformAppItems()
734 const bool has_selection = !params_.selection_text.empty(); in AppendPopupExtensionItems()
749 bool has_selection = !params_.selection_text.empty(); in AppendPanelItems()
933 if (params_.link_url.is_empty() && params_.selection_text.empty()) in AppendPluginItems()
1014 TrimWhitespace(params_.selection_text, TRIM_ALL, &params_.selection_text); in AppendSearchProvider()
1015 if (params_.selection_text.empty()) in AppendSearchProvider()
1018 base::ReplaceChars(params_.selection_text, AutocompleteMatch::kInvalidChars, in AppendSearchProvider()
[all …]
Drender_view_context_menu_unittest.cc45 rv.selection_text = selected_text; in CreateParams()
/external/chromium_org/content/shell/browser/
Dshell_web_contents_view_delegate_android.cc32 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
Dshell_web_contents_view_delegate_win.cc79 bool has_selection = !params_.selection_text.empty(); in ShowContextMenu()
Dshell_web_contents_view_delegate_gtk.cc53 bool has_selection = !params_.selection_text.empty(); in ShowContextMenu()
Dshell_web_contents_view_delegate_mac.mm102 bool has_selection = ! params_.selection_text.empty();
/external/chromium_org/android_webview/native/
Daw_web_contents_view_delegate.cc43 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu.cc208 bool has_selection = !params.selection_text.empty(); in ExtensionContextMatch()
349 string16 selection_text = PrintableSelectionText(); in RecursivelyAppendExtensionItems() local
369 string16 title = item->TitleWithReplacement(selection_text, in RecursivelyAppendExtensionItems()
460 bool has_selection = !params_.selection_text.empty(); in InitMenu()
632 if (params_.link_url.is_empty() && params_.selection_text.empty()) in AppendPluginItems()
684 TrimWhitespace(params_.selection_text, TRIM_ALL, &params_.selection_text); in AppendSearchProvider()
685 if (params_.selection_text.empty()) in AppendSearchProvider()
690 params_.selection_text, string16(), false, &match, NULL); in AppendSearchProvider()
1554 return l10n_util::TruncateString(params_.selection_text, in PrintableSelectionText()
Drender_view_context_menu_mac.mm75 bool has_selection = !params_.selection_text.empty();
90 NSString* text = base::SysUTF16ToNSString(params_.selection_text);
/external/chromium_org/chrome/browser/ui/android/tab_contents/
Dchrome_web_contents_view_delegate_android.cc34 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
/external/chromium/webkit/glue/
Dcontext_menu.h81 string16 selection_text; member
Dcontext_menu.cc34 selection_text(data.selectedText), in ContextMenuParams()
/external/chromium_org/content/public/common/
Dcontext_menu_params.h102 base::string16 selection_text; member
/external/chromium_org/chrome/browser/ui/android/
Dcontext_menu_helper.cc78 ConvertUTF16ToJavaString(env, params.selection_text).obj(), in CreateJavaContextMenuParams()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_util.cc855 gchar* selection_text = gtk_clipboard_wait_for_text(clipboard); in URLFromPrimarySelection() local
856 if (!selection_text) in URLFromPrimarySelection()
863 UTF8ToUTF16(selection_text), false, false, &match, NULL); in URLFromPrimarySelection()
864 g_free(selection_text); in URLFromPrimarySelection()
/external/chromium/chrome/browser/extensions/
Dextension_menu_manager.cc416 if (params.selection_text.length() > 0) in ExecuteCommand()
417 properties->SetString("selectionText", params.selection_text); in ExecuteCommand()
Dextension_menu_manager_unittest.cc428 params.selection_text = ASCIIToUTF16("Hello World"); in TEST_F()
482 ASSERT_EQ(params.selection_text, tmp16); in TEST_F()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_util.cc947 gchar* selection_text = gtk_clipboard_wait_for_text(clipboard); in URLFromPrimarySelection() local
948 if (!selection_text) in URLFromPrimarySelection()
954 profile->GetAutocompleteClassifier()->Classify(UTF8ToUTF16(selection_text), in URLFromPrimarySelection()
956 g_free(selection_text); in URLFromPrimarySelection()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_browsertest.cc120 gchar* selection_text = gtk_clipboard_wait_for_text(clipboard); in GetPrimarySelectionText() local
121 std::string result(selection_text ? selection_text : ""); in GetPrimarySelectionText()
122 g_free(selection_text); in GetPrimarySelectionText()
Dautocomplete_edit_view_gtk.cc1019 SkColor selection_text, selection_bg; in UpdateInstantViewColors() local
1035 selection_text = gfx::GdkColorToSkColor(style->text[GTK_STATE_SELECTED]); in UpdateInstantViewColors()
1044 selection_text = LocationBarView::GetColor( in UpdateInstantViewColors()
1051 selection_text = in UpdateInstantViewColors()
1061 selection_text, in UpdateInstantViewColors()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_extension_browsertest.cc196 params.selection_text = ASCIIToUTF16("Select me"); in IN_PROC_BROWSER_TEST_F()

12