mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 117.0.5938.0 (#1181205)
This commit is contained in:
@@ -106,7 +106,7 @@ struct PopulateAxNodeAttributes {
|
||||
case ax::mojom::IntAttribute::kTableRowIndex:
|
||||
case ax::mojom::IntAttribute::kActivedescendantId:
|
||||
case ax::mojom::IntAttribute::kInPageLinkTargetId:
|
||||
case ax::mojom::IntAttribute::kErrormessageId:
|
||||
case ax::mojom::IntAttribute::kErrormessageIdDeprecated:
|
||||
case ax::mojom::IntAttribute::kDOMNodeId:
|
||||
case ax::mojom::IntAttribute::kDropeffect:
|
||||
case ax::mojom::IntAttribute::kMemberOfId:
|
||||
|
@@ -1796,15 +1796,17 @@ void CefRenderWidgetHostViewOSR::RequestImeCompositionUpdate(
|
||||
|
||||
void CefRenderWidgetHostViewOSR::ImeCompositionRangeChanged(
|
||||
const gfx::Range& range,
|
||||
const std::vector<gfx::Rect>& character_bounds) {
|
||||
const absl::optional<std::vector<gfx::Rect>>& character_bounds,
|
||||
const absl::optional<std::vector<gfx::Rect>>& line_bounds) {
|
||||
if (browser_impl_.get()) {
|
||||
CefRange cef_range(range.start(), range.end());
|
||||
CefRenderHandler::RectList rcList;
|
||||
|
||||
for (size_t i = 0; i < character_bounds.size(); ++i) {
|
||||
rcList.push_back(CefRect(character_bounds[i].x(), character_bounds[i].y(),
|
||||
character_bounds[i].width(),
|
||||
character_bounds[i].height()));
|
||||
if (character_bounds.has_value()) {
|
||||
for (auto& rect : character_bounds.value()) {
|
||||
rcList.push_back(
|
||||
CefRect(rect.x(), rect.y(), rect.width(), rect.height()));
|
||||
}
|
||||
}
|
||||
|
||||
CefRefPtr<CefRenderHandler> handler =
|
||||
|
@@ -181,7 +181,8 @@ class CefRenderWidgetHostViewOSR
|
||||
viz::SurfaceId GetCurrentSurfaceId() const override;
|
||||
void ImeCompositionRangeChanged(
|
||||
const gfx::Range& range,
|
||||
const std::vector<gfx::Rect>& character_bounds) override;
|
||||
const absl::optional<std::vector<gfx::Rect>>& character_bounds,
|
||||
const absl::optional<std::vector<gfx::Rect>>& line_bounds) override;
|
||||
std::unique_ptr<content::SyntheticGestureTarget>
|
||||
CreateSyntheticGestureTarget() override;
|
||||
bool TransformPointToCoordSpaceForView(
|
||||
|
@@ -181,6 +181,17 @@ void CefTouchSelectionControllerClientOSR::OnSwipeToMoveCursorEnd() {
|
||||
OnSelectionEvent(ui::INSERTION_HANDLE_DRAG_STOPPED);
|
||||
}
|
||||
|
||||
void CefTouchSelectionControllerClientOSR::OnClientHitTestRegionUpdated(
|
||||
ui::TouchSelectionControllerClient* client) {
|
||||
if (client != active_client_ || !rwhv_->selection_controller() ||
|
||||
rwhv_->selection_controller()->active_status() ==
|
||||
ui::TouchSelectionController::INACTIVE) {
|
||||
return;
|
||||
}
|
||||
|
||||
active_client_->DidScroll();
|
||||
}
|
||||
|
||||
void CefTouchSelectionControllerClientOSR::UpdateClientSelectionBounds(
|
||||
const gfx::SelectionBound& start,
|
||||
const gfx::SelectionBound& end) {
|
||||
|
@@ -72,6 +72,8 @@ class CefTouchSelectionControllerClientOSR
|
||||
void DidStopFlinging() override;
|
||||
void OnSwipeToMoveCursorBegin() override;
|
||||
void OnSwipeToMoveCursorEnd() override;
|
||||
void OnClientHitTestRegionUpdated(
|
||||
ui::TouchSelectionControllerClient* client) override;
|
||||
void UpdateClientSelectionBounds(
|
||||
const gfx::SelectionBound& start,
|
||||
const gfx::SelectionBound& end,
|
||||
|
Reference in New Issue
Block a user