From d35c7c149a650dfedf1b031c0668adad585659fa Mon Sep 17 00:00:00 2001 From: Matt Campbell Date: Tue, 29 Aug 2023 12:03:46 -0500 Subject: [PATCH] fix!: Drop next/previous focus properties (#288) --- bindings/c/src/common.rs | 4 +--- common/src/lib.rs | 14 +++----------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/bindings/c/src/common.rs b/bindings/c/src/common.rs index fc766c863..b5dff8211 100644 --- a/bindings/c/src/common.rs +++ b/bindings/c/src/common.rs @@ -587,9 +587,7 @@ node_id_property_methods! { (popup_for, set_popup_for, clear_popup_for), (table_header, set_table_header, clear_table_header), (table_row_header, set_table_row_header, clear_table_row_header), - (table_column_header, set_table_column_header, clear_table_column_header), - (next_focus, set_next_focus, clear_next_focus), - (previous_focus, set_previous_focus, clear_previous_focus) + (table_column_header, set_table_column_header, clear_table_column_header) } /// Only call this function with a string that originated from AccessKit. diff --git a/common/src/lib.rs b/common/src/lib.rs index 126ef9751..da8ea3203 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -864,8 +864,6 @@ enum PropertyId { TableHeader, TableRowHeader, TableColumnHeader, - NextFocus, - PreviousFocus, // String Name, @@ -1591,9 +1589,7 @@ node_id_property_methods! { (PopupFor, popup_for, set_popup_for, clear_popup_for), (TableHeader, table_header, set_table_header, clear_table_header), (TableRowHeader, table_row_header, set_table_row_header, clear_table_row_header), - (TableColumnHeader, table_column_header, set_table_column_header, clear_table_column_header), - (NextFocus, next_focus, set_next_focus, clear_next_focus), - (PreviousFocus, previous_focus, set_previous_focus, clear_previous_focus) + (TableColumnHeader, table_column_header, set_table_column_header, clear_table_column_header) } string_property_methods! { @@ -2016,9 +2012,7 @@ impl<'de> Visitor<'de> for NodeVisitor { PopupFor, TableHeader, TableRowHeader, - TableColumnHeader, - NextFocus, - PreviousFocus + TableColumnHeader }, String { Name, @@ -2221,9 +2215,7 @@ impl JsonSchema for Node { PopupFor, TableHeader, TableRowHeader, - TableColumnHeader, - NextFocus, - PreviousFocus + TableColumnHeader }, Box { Name,