0
Files
src/ui
Orko Garai d6678747e4 [ozone/wayland] Text input refactors part 3: Single instance
Make ZwpTextInputV1 and ZwpTextInputV3 single instances per
WaylandConnection, shared by multiple per-window
WaylandInputMethodContext instances.

Introduce new text-input focus derived from text-input-v3 enter/leave
for:
- Ensuring the correct WaylandInputMethodContext is set as the v3
  client.
- Determining window focus if keyboard focus isn't available.

Remove `WaylandWindowObserver::OnKeyboardFocusedWindowChanged()`
and add `WaylandWindow::FocusClient` instead for notifying keyboard
and text input focus changes specifically for that window.

This makes it possible for the WaylandWindow to keep a reference to the
associated WaylandInputMethodContext and directly notify focus changes
to it.

Bug: 414284073
Change-Id: Id8ced1a690c759107983a5c1cb71195f9556a1d7
Fixed: 368299543, 369574355, 372650991
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6496390
Reviewed-by: Kramer Ge <fangzhoug@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Orko Garai <orko@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1455466}
2025-05-04 09:18:50 -07:00
..
2024-10-29 23:42:03 +00:00
2025-03-25 07:56:27 -07:00
2025-04-22 12:24:10 -07:00
2024-10-31 08:39:03 +00:00
2022-12-12 23:00:17 +00:00

This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).