Home
last modified time | relevance | path

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

/third_party/cef/libcef/renderer/
Ddom_document_impl.cc93 bool CefDOMDocumentImpl::HasSelection() { in HasSelection() function in CefDOMDocumentImpl
97 return frame_->HasSelection(); in HasSelection()
104 if (!frame_->HasSelection()) in GetSelectionStartOffset()
118 if (!frame_->HasSelection()) in GetSelectionEndOffset()
133 if (!frame_->HasSelection()) in GetSelectionAsMarkup()
148 if (!frame_->HasSelection()) in GetSelectionAsText()
Ddom_document_impl.h32 bool HasSelection() override;
/third_party/cef/tests/ceftests/views/
Dtextfield_unittest.cc46 EXPECT_FALSE(textfield->HasSelection()); in RunTextfieldContents()
66 EXPECT_FALSE(textfield->HasSelection()); in RunTextfieldContents()
71 EXPECT_TRUE(textfield->HasSelection()); in RunTextfieldContents()
87 EXPECT_FALSE(textfield->HasSelection()); in RunTextfieldContents()
89 EXPECT_TRUE(textfield->HasSelection()); in RunTextfieldContents()
98 EXPECT_FALSE(textfield->HasSelection()); in RunTextfieldContents()
107 EXPECT_TRUE(textfield->HasSelection()); in RunTextfieldContents()
/third_party/cef/libcef/browser/views/
Dtextfield_impl.cc84 bool CefTextfieldImpl::HasSelection() { in HasSelection() function in CefTextfieldImpl
86 return root_view()->HasSelection(); in HasSelection()
Dtextfield_impl.h37 bool HasSelection() override;
/third_party/cef/libcef_dll/ctocpp/
Ddomdocument_ctocpp.h44 bool HasSelection() override;
Ddomdocument_ctocpp.cc144 NO_SANITIZE("cfi-icall") bool CefDOMDocumentCToCpp::HasSelection() { in HasSelection() function in CefDOMDocumentCToCpp
/third_party/cef/include/views/
Dcef_textfield.h112 virtual bool HasSelection() = 0;
/third_party/cef/include/
Dcef_dom.h120 virtual bool HasSelection() = 0;
/third_party/cef/libcef_dll/ctocpp/views/
Dtextfield_ctocpp.h45 bool HasSelection() override;
Dtextfield_ctocpp.cc181 NO_SANITIZE("cfi-icall") bool CefTextfieldCToCpp::HasSelection() { in HasSelection() function in CefTextfieldCToCpp
/third_party/cef/libcef_dll/cpptoc/
Ddomdocument_cpptoc.cc160 bool _retval = CefDOMDocumentCppToC::Get(self)->HasSelection(); in domdocument_has_selection()
/third_party/mesa3d/src/imgui/
Dimgui_memory_editor.h332 if (!data->HasSelection()) in Callback()
Dimgui_widgets.cpp3362 …(ImGuiKey_Delete))) && is_editable && !is_password && (!is_multiline || edit_state.HasSelection()); in InputTextEx()
3363 …IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || edit_state.HasSelection()); in InputTextEx()
3377 if (!edit_state.HasSelection()) in InputTextEx()
3423 …const int ib = edit_state.HasSelection() ? ImMin(edit_state.StbState.select_start, edit_state.StbS… in InputTextEx()
3424 …const int ie = edit_state.HasSelection() ? ImMax(edit_state.StbState.select_start, edit_state.StbS… in InputTextEx()
3431 if (!edit_state.HasSelection()) in InputTextEx()
Dimgui_internal.h583 …bool HasSelection() const { return StbState.select_start != StbState.select_… in HasSelection() function
Dimgui.h1445 bool HasSelection() const { return SelectionStart != SelectionEnd; } in HasSelection() function
/third_party/cef/libcef_dll/cpptoc/views/
Dtextfield_cpptoc.cc191 bool _retval = CefTextfieldCppToC::Get(self)->HasSelection(); in textfield_has_selection()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp4121 …bool render_selection = state && (state->HasSelection() || select_all) && (RENDER_SELECTION_WHEN_I… in InputTextEx()
4134 render_selection &= state->HasSelection(); in InputTextEx()
4257 …Map(ImGuiKey_Delete))) && !is_readonly && !is_password && (!is_multiline || state->HasSelection()); in InputTextEx()
4258 … && IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || state->HasSelection()); in InputTextEx()
4279 if (!state->HasSelection()) in InputTextEx()
4326 … const int ib = state->HasSelection() ? ImMin(state->Stb.select_start, state->Stb.select_end) : 0; in InputTextEx()
4327 …const int ie = state->HasSelection() ? ImMax(state->Stb.select_start, state->Stb.select_end) : sta… in InputTextEx()
4336 if (!state->HasSelection()) in InputTextEx()
4371 … render_selection |= state->HasSelection() && (RENDER_SELECTION_WHEN_INACTIVE || render_cursor); in InputTextEx()
Dimgui.h1994 bool HasSelection() const { return SelectionStart != SelectionEnd; } in HasSelection() function
Dimgui_internal.h1035 bool HasSelection() const { return Stb.select_start != Stb.select_end; } in HasSelection() function
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp3356 …(ImGuiKey_Delete))) && is_editable && !is_password && (!is_multiline || edit_state.HasSelection()); in InputTextEx()
3357 …IsKeyPressedMap(ImGuiKey_Insert))) && !is_password && (!is_multiline || edit_state.HasSelection()); in InputTextEx()
3371 if (!edit_state.HasSelection()) in InputTextEx()
3417 …const int ib = edit_state.HasSelection() ? ImMin(edit_state.StbState.select_start, edit_state.StbS… in InputTextEx()
3418 …const int ie = edit_state.HasSelection() ? ImMax(edit_state.StbState.select_start, edit_state.StbS… in InputTextEx()
3425 if (!edit_state.HasSelection()) in InputTextEx()
Dimgui_internal.h562 …bool HasSelection() const { return StbState.select_start != StbState.select_… in HasSelection() function
Dimgui.h1438 bool HasSelection() const { return SelectionStart != SelectionEnd; } in HasSelection() function
/third_party/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt3089 - InputText: Added HasSelection() helper in ImGuiTextEditCallbackData as a clarification.