mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Allow OHOS servoshell to have a simple multiple tab implementation. (#36891)
Currently we just pause the compositor and replace the window in it while having separate bookkeeping to remember which window belongs to which tab. Currently there are no tests for OHOS, so we cannot test the changes. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
This commit is contained in:
parent
71bf9fb92d
commit
3b73b83a9f
6 changed files with 245 additions and 87 deletions
|
@ -182,6 +182,7 @@ pub enum TouchEventType {
|
|||
pub struct TouchId(pub i32);
|
||||
|
||||
/// An ID for a sequence of touch events between a `Down` and the `Up` or `Cancel` event.
|
||||
/// The ID is the same for all events between `Down` and `Up` or `Cancel`
|
||||
#[repr(transparent)]
|
||||
#[derive(Clone, Copy, Debug, Default, Deserialize, Eq, Hash, PartialEq, Serialize)]
|
||||
pub struct TouchSequenceId(u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue