Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,15 @@ message FormFillingRequest {
// This AttemptFormFillingAction in development and future changes are possible
// once the model constraings/performance are understood.
//
// Next ID: 3
// Next ID: 4
message AttemptFormFillingAction {
int32 tab_id = 1 [features = { field_presence: EXPLICIT }];

repeated FormFillingRequest form_filling_requests = 2;

// Opaque token representing an authorized token for credit card fetching for
// autofill without additional user prompting in Chrome.
string credit_card_opaque_token = 3 [features = { field_presence: EXPLICIT }];
}

// Attempts to fill One-Time Password (OTP) /verification codes in the tab. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ message ContentNode {
ContentAttributes content_attributes = 2 [features = { field_presence: EXPLICIT }];
}

// Next ID: 30
// Next ID: 31
message ContentAttributes {
oneof content_data {
// Only set if attribute_type is CONTENT_ATTRIBUTE_TEXT.
Expand Down Expand Up @@ -314,6 +314,9 @@ message ContentAttributes {

// Only set if attribute_type is CONTENT_ATTRIBUTE_TABLE_ROW.
TableRowData table_row_data = 13;

// Only set if attribute_type is CONTENT_ATTRIBUTE_MATH.
MathData math_data = 30;
}

// A unique identifier for the DOM node which generated this ContentNode.
Expand Down Expand Up @@ -987,6 +990,23 @@ message TableRowData {
TableRowType type = 1 [features = { field_presence: EXPLICIT }];
}

message MathData {
// The <math> subtree, re-serialized with only known MathML tags (unknown
// MathML tags become <mrow>; non-MathML tags are unwrapped) and the alttext,
// mathvariant, rowspan and columnspan attributes, minus annotations. `&`,
// `<`, `>` and `$` are XML-escaped. Unset if the markup would exceed 65536
// bytes or 128 levels of nesting.
//
// For backward compatibility, the node's descendants also carry the formula
// as rendered text.
string stripped_mathml = 1 [features = { field_presence: EXPLICIT }];

// Whether the formula is laid out as a block rather than inline (from
// computed style, so CSS `display: block math` without a `display="block"`
// attribute is also covered).
bool is_block = 2 [features = { field_presence: EXPLICIT }];
}

// Represents the interaction information for the page. This is for top-level
// interactions, such as the mouse position and focused element, for which
// there can only be one unique value.
Expand Down Expand Up @@ -2467,7 +2487,7 @@ enum AnnotatedPageContentMode {
// When adding new types, please also update AIPageContentAttributeType in
// third_party/blink/public/mojom/content_extraction/ai_page_content.mojom.
// See crrev.com/c/6072788 for an example.
// Next ID: 30
// Next ID: 31
enum ContentAttributeType {
// Unknown is not a valid attribute type and should never be used by the
// client. You can consider discarding ContentNodes with this attribute type.
Expand Down Expand Up @@ -2520,6 +2540,9 @@ enum ContentAttributeType {

CONTENT_ATTRIBUTE_DIALOG_MODELESS = 29;

// MathML formulas.
CONTENT_ATTRIBUTE_MATH = 30;

reserved 12, 13, 14, 15, 16, 17, 18, 19;
}

Expand Down
Loading