/external/chromium_org/chrome/browser/extensions/ |
D | context_menu_matcher.cc | 32 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()
|
D | context_menu_matcher.h | 38 const base::string16& selection_text, 47 const base::string16& selection_text); 71 const base::string16& selection_text,
|
/external/chromium_org/content/renderer/ |
D | render_view_impl_unittest.cc | 15 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()
|
D | context_menu_params_builder.cc | 32 params.selection_text = data.selectedText; in Build()
|
/external/chromium_org/chrome/browser/tab_contents/ |
D | render_view_context_menu.cc | 446 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, ¶ms_.selection_text); in AppendSearchProvider() 1015 if (params_.selection_text.empty()) in AppendSearchProvider() 1018 base::ReplaceChars(params_.selection_text, AutocompleteMatch::kInvalidChars, in AppendSearchProvider() [all …]
|
D | render_view_context_menu_unittest.cc | 45 rv.selection_text = selected_text; in CreateParams()
|
/external/chromium_org/content/shell/browser/ |
D | shell_web_contents_view_delegate_android.cc | 32 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
|
D | shell_web_contents_view_delegate_win.cc | 79 bool has_selection = !params_.selection_text.empty(); in ShowContextMenu()
|
D | shell_web_contents_view_delegate_gtk.cc | 53 bool has_selection = !params_.selection_text.empty(); in ShowContextMenu()
|
D | shell_web_contents_view_delegate_mac.mm | 102 bool has_selection = ! params_.selection_text.empty();
|
/external/chromium_org/android_webview/native/ |
D | aw_web_contents_view_delegate.cc | 43 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
|
/external/chromium/chrome/browser/tab_contents/ |
D | render_view_context_menu.cc | 208 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, ¶ms_.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()
|
D | render_view_context_menu_mac.mm | 75 bool has_selection = !params_.selection_text.empty(); 90 NSString* text = base::SysUTF16ToNSString(params_.selection_text);
|
/external/chromium_org/chrome/browser/ui/android/tab_contents/ |
D | chrome_web_contents_view_delegate_android.cc | 34 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
|
/external/chromium/webkit/glue/ |
D | context_menu.h | 81 string16 selection_text; member
|
D | context_menu.cc | 34 selection_text(data.selectedText), in ContextMenuParams()
|
/external/chromium_org/content/public/common/ |
D | context_menu_params.h | 102 base::string16 selection_text; member
|
/external/chromium_org/chrome/browser/ui/android/ |
D | context_menu_helper.cc | 78 ConvertUTF16ToJavaString(env, params.selection_text).obj(), in CreateJavaContextMenuParams()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | gtk_util.cc | 855 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/ |
D | extension_menu_manager.cc | 416 if (params.selection_text.length() > 0) in ExecuteCommand() 417 properties->SetString("selectionText", params.selection_text); in ExecuteCommand()
|
D | extension_menu_manager_unittest.cc | 428 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/ |
D | gtk_util.cc | 947 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/ |
D | autocomplete_edit_view_browsertest.cc | 120 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()
|
D | autocomplete_edit_view_gtk.cc | 1019 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/ |
D | panel_extension_browsertest.cc | 196 params.selection_text = ASCIIToUTF16("Select me"); in IN_PROC_BROWSER_TEST_F()
|