Home
last modified time | relevance | path

Searched refs:CefRange (Results 1 – 25 of 46) sorted by relevance

12

/third_party/cef/tests/ceftests/views/
Dtextfield_unittest.cc47 EXPECT_EQ(CefRange(0, 0), textfield->GetSelectedRange()); in RunTextfieldContents()
68 CefRange(static_cast<int>(cursor_pos), static_cast<int>(cursor_pos)), in RunTextfieldContents()
70 textfield->SelectRange(CefRange(0, static_cast<int>(cursor_pos))); in RunTextfieldContents()
72 EXPECT_EQ(CefRange(0, static_cast<int>(cursor_pos)), in RunTextfieldContents()
92 EXPECT_EQ(CefRange(0, static_cast<int>(cursor_pos)), in RunTextfieldContents()
100 CefRange(static_cast<int>(cursor_pos), static_cast<int>(cursor_pos)), in RunTextfieldContents()
108 EXPECT_EQ(CefRange(0, static_cast<int>(cursor_pos)), in RunTextfieldContents()
169 textfield->ApplyTextColor(color, CefRange(0, 5)); in RunTextfieldStyle()
170 textfield->ApplyTextStyle(CEF_TEXT_STYLE_BOLD, true, CefRange(0, 5)); in RunTextfieldStyle()
/third_party/cef/include/views/
Dcef_textfield.h138 virtual CefRange GetSelectedRange() = 0;
144 virtual void SelectRange(const CefRange& range) = 0;
209 virtual void ApplyTextColor(cef_color_t color, const CefRange& range) = 0;
220 const CefRange& range) = 0;
/third_party/cef/libcef/browser/views/
Dtextfield_impl.h41 CefRange GetSelectedRange() override;
42 void SelectRange(const CefRange& range) override;
51 void ApplyTextColor(cef_color_t color, const CefRange& range) override;
54 const CefRange& range) override;
Dtextfield_impl.cc104 CefRange CefTextfieldImpl::GetSelectedRange() { in GetSelectedRange()
105 CEF_REQUIRE_VALID_RETURN(CefRange()); in GetSelectedRange()
107 return CefRange(range.start(), range.end()); in GetSelectedRange()
110 void CefTextfieldImpl::SelectRange(const CefRange& range) { in SelectRange()
156 const CefRange& range) { in ApplyTextColor()
166 const CefRange& range) { in ApplyTextStyle()
/third_party/cef/tests/cefclient/browser/
Dtext_input_client_osr_mac.h27 CefRange composition_range_;
60 CefRange setMarkedTextReplacementRange_;
72 - (void)ChangeCompositionRange:(CefRange)range
Dosr_ime_handler_win.h68 void ChangeCompositionRange(const CefRange& selection_range,
107 CefRange composition_range_;
Dtext_input_client_osr_mac.mm159 CefRange replacement_range(replacementRange.location,
161 CefRange selection_range(newSelRange.location, NSMaxRange(newSelRange));
264 setMarkedTextReplacementRange_ = CefRange(UINT32_MAX, UINT32_MAX);
301 CefRange(UINT32_MAX, UINT32_MAX), 0);
312 CefRange(selectedRange_.location, NSMaxRange(selectedRange_)));
322 setMarkedTextReplacementRange_ = CefRange(UINT32_MAX, UINT32_MAX);
325 - (void)ChangeCompositionRange:(CefRange)range
Dclient_handler_osr.h62 const CefRange& selection_range,
127 const CefRange& selection_range,
/third_party/cef/libcef_dll/ctocpp/views/
Dtextfield_ctocpp.h49 CefRange GetSelectedRange() override;
50 void SelectRange(const CefRange& range) override;
59 void ApplyTextColor(cef_color_t color, const CefRange& range) override;
62 const CefRange& range) override;
/third_party/cef/libcef/browser/osr/
Dbrowser_platform_delegate_osr.h64 const CefRange& replacement_range,
65 const CefRange& selection_range) override;
67 const CefRange& replacement_range,
Drender_widget_host_view_osr.h254 const CefRange& replacement_range,
255 const CefRange& selection_range);
257 const CefRange& replacement_range,
/third_party/cef/libcef/browser/chrome/
Dchrome_browser_host_impl.h101 const CefRange& replacement_range,
102 const CefRange& selection_range) override;
104 const CefRange& replacement_range,
/third_party/cef/libcef_dll/ctocpp/
Dbrowser_host_ctocpp.h110 const CefRange& replacement_range,
111 const CefRange& selection_range) override;
113 const CefRange& replacement_range,
Drender_handler_ctocpp.h71 const CefRange& selected_range,
75 const CefRange& selected_range) override;
/third_party/cef/include/
Dcef_render_handler.h212 const CefRange& selected_range, in OnImeCompositionRangeChanged()
223 const CefRange& selected_range) {} in OnTextSelectionChanged()
Dcef_browser.h768 const CefRange& replacement_range,
769 const CefRange& selection_range) = 0;
782 const CefRange& replacement_range,
/third_party/cef/tests/ceftests/
Dprint_unittest.cc34 page_ranges.push_back(CefRange(1, 3)); in TEST()
35 page_ranges.push_back(CefRange(5, 6)); in TEST()
/third_party/cef/libcef_dll/cpptoc/
Drender_handler_cpptoc.cc429 CefRange selected_rangeVal = selected_range ? *selected_range : CefRange(); in render_handler_on_ime_composition_range_changed()
463 CefRange selected_rangeVal = selected_range ? *selected_range : CefRange(); in render_handler_on_text_selection_changed()
Dprint_settings_cpptoc.cc216 std::vector<CefRange> rangesList; in print_settings_set_page_ranges()
219 CefRange rangesVal = ranges[i]; in print_settings_set_page_ranges()
262 std::vector<CefRange> rangesList; in print_settings_get_page_ranges()
Dbrowser_host_cpptoc.cc969 CefRange replacement_rangeVal = in browser_host_ime_set_composition()
970 replacement_range ? *replacement_range : CefRange(); in browser_host_ime_set_composition()
972 CefRange selection_rangeVal = selection_range ? *selection_range : CefRange(); in browser_host_ime_set_composition()
999 CefRange replacement_rangeVal = in browser_host_ime_commit_text()
1000 replacement_range ? *replacement_range : CefRange(); in browser_host_ime_commit_text()
/third_party/cef/libcef/browser/
Dbrowser_platform_delegate.h312 const CefRange& replacement_range,
313 const CefRange& selection_range);
315 const CefRange& replacement_range,
Dprint_settings_impl.cc77 const CefRange& cef_range = *it; in SetPageRanges()
99 ranges.push_back(CefRange(range.from, range.to)); in GetPageRanges()
Dbrowser_platform_delegate.cc270 const CefRange& replacement_range, in ImeSetComposition()
271 const CefRange& selection_range) { in ImeSetComposition()
277 const CefRange& replacement_range, in ImeCommitText()
/third_party/cef/include/internal/
Dcef_types_wrappers.h273 class CefRange : public CefStructBase<CefRangeTraits> {
277 CefRange() {} in CefRange() function
278 CefRange(const cef_range_t& r) : parent(r) {} in CefRange() function
279 CefRange(int from, int to) { Set(from, to); } in CefRange() function
284 inline bool operator==(const CefRange& a, const CefRange& b) {
288 inline bool operator!=(const CefRange& a, const CefRange& b) {
/third_party/cef/libcef_dll/cpptoc/views/
Dtextfield_cpptoc.cc249 return CefRange(); in textfield_get_selected_range()
273 CefRange rangeVal = range ? *range : CefRange(); in textfield_select_range()
426 CefRange rangeVal = range ? *range : CefRange(); in textfield_apply_text_color()
449 CefRange rangeVal = range ? *range : CefRange(); in textfield_apply_text_style()

12