Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18794f0a authored by Alp Yalcin's avatar Alp Yalcin
Browse files

[1/n] Create flag for the new tab tearing feature

We’re creating a new flag named `enable_interaction_dependant_tab_tearing_bounds` for the upcoming feature: Smart positioning and size inheritance of the torn tabs

Flag: EXEMPT Flag creation
Bug: 436502207
Test: m
Change-Id: Id145a070d570df564b2ba4e7690b76e3894ee700
parent f5b0f79d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -175,6 +175,9 @@ public enum DesktopExperienceFlags {
    ENABLE_INORDER_TRANSITION_CALLBACKS_FOR_DESKTOP(
            Flags::enableInorderTransitionCallbacksForDesktop, false,
            Flags.FLAG_ENABLE_INORDER_TRANSITION_CALLBACKS_FOR_DESKTOP),
    ENABLE_INTERACTION_DEPENDENT_TAB_TEARING_BOUNDS(
            Flags::enableInteractionDependentTabTearingBounds, false,
            Flags.FLAG_ENABLE_INTERACTION_DEPENDENT_TAB_TEARING_BOUNDS),
    ENABLE_INTERACTIVE_PICTURE_IN_PICTURE(Flags::enableInteractivePictureInPicture, false,
            Flags.FLAG_ENABLE_INTERACTIVE_PICTURE_IN_PICTURE),
    ENABLE_KEYBOARD_SHORTCUTS_TO_SWITCH_DESKS(Flags::keyboardShortcutsToSwitchDesks, true,
+11 −0
Original line number Diff line number Diff line
@@ -976,6 +976,17 @@ flag {
    }
}

flag {
    name: "enable_interaction_dependent_tab_tearing_bounds"
    namespace: "lse_desktop_experience"
    description: "Update bounds of a torn tab and position it with respect to user /n"
                 "interactions such drag-drop location and existing size of the parent window."
    bug: "436502207"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_interactive_picture_in_picture"
    namespace: "web_apps_on_chromeos_and_android"