Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/extensions/
Dcontext_menu_matcher.cc55 const base::string16& selection_text, in AppendExtensionItems() argument
89 selection_text, in AppendExtensionItems()
105 title = item->TitleWithReplacement(selection_text, in AppendExtensionItems()
120 selection_text, in AppendExtensionItems()
137 const base::string16& selection_text) { in GetTopLevelContextMenuTitle() argument
153 selection_text, kMaxExtensionItemTitleLength); in GetTopLevelContextMenuTitle()
227 const base::string16& selection_text, in RecursivelyAppendExtensionItems() argument
259 base::string16 title = item->TitleWithReplacement(selection_text, in RecursivelyAppendExtensionItems()
272 selection_text, in RecursivelyAppendExtensionItems()
Dcontext_menu_matcher.h50 const base::string16& selection_text,
60 const base::string16& selection_text);
84 const base::string16& selection_text,
Dmenu_manager.cc653 if (params.selection_text.length() > 0) in ExecuteCommand()
654 properties->SetString("selectionText", params.selection_text); in ExecuteCommand()
Dmenu_manager_unittest.cc576 params.selection_text = base::ASCIIToUTF16("Hello World"); in TEST_F()
635 ASSERT_EQ(params.selection_text, tmp16); in TEST_F()
/external/chromium_org/content/renderer/
Drender_frame_impl_unittest.cc15 const char* selection_text; in TEST() member
31 params.selection_text = base::UTF8ToUTF16(cases[i].params_selection_text); in TEST()
34 base::UTF8ToUTF16(cases[i].selection_text), in TEST()
Dcontext_menu_params_builder.cc33 params.selection_text = data.selectedText; in Build()
Drender_frame_impl.cc1399 const base::string16& selection_text, in ShouldUpdateSelectionTextFromContextMenuParams() argument
1404 if (!selection_text.empty() && !selection_range.is_empty()) { in ShouldUpdateSelectionTextFromContextMenuParams()
1407 if (start >= 0 && start + length <= selection_text.length()) { in ShouldUpdateSelectionTextFromContextMenuParams()
1408 base::TrimWhitespace(selection_text.substr(start, length), base::TRIM_ALL, in ShouldUpdateSelectionTextFromContextMenuParams()
1413 base::TrimWhitespace(params.selection_text, base::TRIM_ALL, in ShouldUpdateSelectionTextFromContextMenuParams()
2572 selection_text_ = params.selection_text; in showContextMenu()
Drender_frame_impl.h584 const base::string16& selection_text,
/external/chromium_org/components/renderer_context_menu/
Dcontext_menu_content_type.cc65 const bool has_selection = !params_.selection_text.empty(); in SupportsGroup()
101 const bool has_selection = !params_.selection_text.empty(); in SupportsGroupInternal()
Drender_view_context_menu_base.cc189 const bool has_selection = !params_.selection_text.empty(); in InitMenu()
/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.cc80 bool has_selection = !params_.selection_text.empty(); in ShowContextMenu()
Dshell_web_contents_view_delegate_mac.mm103 bool has_selection = ! params_.selection_text.empty();
/external/chromium_org/chrome/browser/renderer_context_menu/
Drender_view_context_menu.cc350 const bool has_selection = !params.selection_text.empty(); in ExtensionContextAndPatternMatch()
767 if (params_.link_url.is_empty() && params_.selection_text.empty()) in AppendPluginItems()
838 base::TrimWhitespace(params_.selection_text, base::TRIM_ALL, in AppendSearchProvider()
839 &params_.selection_text); in AppendSearchProvider()
840 if (params_.selection_text.empty()) in AppendSearchProvider()
843 base::ReplaceChars(params_.selection_text, AutocompleteMatch::kInvalidChars, in AppendSearchProvider()
844 base::ASCIIToUTF16(" "), &params_.selection_text); in AppendSearchProvider()
848 params_.selection_text, in AppendSearchProvider()
1498 print_view_manager->PrintPreviewNow(!params_.selection_text.empty()); in ExecuteCommand()
1739 return gfx::TruncateString(params_.selection_text, in PrintableSelectionText()
Dcontext_menu_content_type_unittest.cc35 rv.selection_text = selected_text; in CreateParams()
Drender_view_context_menu_unittest.cc45 rv.selection_text = selected_text; in CreateParams()
/external/chromium_org/android_webview/native/
Daw_web_contents_view_delegate.cc43 if (params.is_editable && params.selection_text.empty()) { in ShowContextMenu()
/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_org/content/public/common/
Dcontext_menu_params.h105 base::string16 selection_text; member
/external/chromium_org/chrome/browser/ui/android/
Dcontext_menu_helper.cc81 ConvertUTF16ToJavaString(env, params.selection_text).obj(), in CreateJavaContextMenuParams()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_extension_browsertest.cc194 params.selection_text = base::ASCIIToUTF16("Select me"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/common/
Dframe_messages.h60 IPC_STRUCT_TRAITS_MEMBER(selection_text)
/external/chromium_org/chrome/browser/ui/cocoa/renderer_context_menu/
Drender_view_context_menu_mac.mm237 bool has_selection = !params_.selection_text.empty();
/external/chromium_org/chrome/browser/apps/
Dapp_browsertest.cc324 params.selection_text = base::ASCIIToUTF16("Hello World"); in IN_PROC_BROWSER_TEST_F()