Skip to content

Commit f0a3980

Browse files
Perfetto Teamcopybara-github
authored andcommitted
Copybara import from Chromium: proto and stdlib changes
- 93215cb6533b7bf6caca38b9bf09b3c44cddd82e Support cross-document navigations triggered by actor scr... by Mason Freed <masonf@chromium.org> - 7544681114afa6f141d7af91115ed4544a32dbaa Sync feature protos. by Googler <noreply@google.com> - 13d88985f5f5c895b5ea654fc2038d230f8001e9 [WV] Make WebView layout inflation work without triggerin... by Abhijith Nair <abhijithnair@chromium.org> - 5401d84f0a8dedfba5b7e35246b227bb2e0fbf07 Emit chrome preferred frame timeline. by Kartar Singh <kartarsingh@google.com> - 5c6c84aa6ca9afbd6f2c4cf39ec9fc76040c8f61 [ax] Add native_event to NotifyWinEvent trace event args by Sean Maher <spvm@chromium.org> - dea0b523ef4664707b69665281725ef921e9ccb4 Implement the macOS accessibility AXTextOperation paramet... by Samar Sunkaria <samar.sunkaria@grammarly.com> - a5ddd3cdc46fb1a079139961b31eaf2db4cf3467 [ScrollJankV4] Add has_inertial_input to Synthetic proto by Aman Verma <amanvr@google.com> COPYBARA_IMPORT=Project import generated by Copybara. GitOrigin-RevId: 93215cb6533b7bf6caca38b9bf09b3c44cddd82e
1 parent 502c730 commit f0a3980

2 files changed

Lines changed: 34 additions & 5 deletions

File tree

protos/third_party/chromium/chrome_track_event.proto

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ message BlinkTaskScope {
4343
TASK_SCOPE_MISC_EVENT = 10;
4444
TASK_SCOPE_MICROTASK = 11;
4545
TASK_SCOPE_RESOURCE_TIMING = 12;
46+
TASK_SCOPE_SCRIPT_TOOL_EXECUTION = 13;
4647
}
4748
optional TaskScopeType type = 1;
4849
optional int64 scope_task_id = 2;
@@ -1030,6 +1031,10 @@ message EventLatency {
10301031
// Trace IDs of the first synthetic scroll update included in this
10311032
// frame. Can be joined with EventLatency.event_latency_id.
10321033
optional int64 first_event_latency_id = 1;
1034+
1035+
// True if the synthetic scroll update was generated from an inertial
1036+
// input (e.g. a fling).
1037+
optional bool has_inertial_input = 2;
10331038
}
10341039
optional Synthetic synthetic = 2;
10351040

@@ -2273,6 +2278,7 @@ message WebViewStartup {
22732278
STATIC_GET_RENDERER_LIBRARY_PREFETCH_MODE = 106;
22742279
GET_DEFAULT_COOKIE_MANAGER = 107;
22752280
GET_PROFILE_STORE = 108;
2281+
WEBVIEW_INSTANCE_GET_SETTINGS = 109;
22762282
// Remember to update WebViewStartupCallSite in enums.xml when adding new
22772283
// values here.
22782284
}
@@ -2620,7 +2626,7 @@ message EventTiming {
26202626
// Frame information provided by Android's Choreographer.
26212627
// See
26222628
// https://developer.android.com/ndk/reference/group/choreographer#achoreographerframecallbackdata.
2623-
// Next ID: 4
2629+
// Next ID: 5
26242630
message AndroidChoreographerFrameCallbackData {
26252631
// The time in microseconds at which the frame started being rendered.
26262632
// See
@@ -2658,6 +2664,9 @@ message AndroidChoreographerFrameCallbackData {
26582664
// See
26592665
// https://developer.android.com/ndk/reference/group/choreographer#achoreographerframecallbackdata_getpreferredframetimelineindex.
26602666
optional int64 preferred_frame_timeline_index = 3;
2667+
2668+
// The chrome-preferred frame timeline.
2669+
optional FrameTimeline chrome_preferred_frame_timeline = 4;
26612670
}
26622671

26632672
message ChromeFrameReporter2 {
@@ -2908,9 +2917,16 @@ message FrameIntervalDecider {
29082917
optional FrameIntervalMatcherType matcher_type = 2;
29092918
}
29102919

2920+
message ChromeAccessibilityWinNotifyWinEvent {
2921+
// The DWORD `event` parameter to ::NotifyWinEvent(). See
2922+
// https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-notifywinevent
2923+
// One of the following constants:
2924+
// https://learn.microsoft.com/en-us/windows/win32/winauto/event-constants
2925+
optional uint32 native_event = 1;
2926+
}
2927+
29112928
message ChromeTrackEvent {
2912-
reserved 1045, 1080;
2913-
reserved "chrome_accessibility_win_notify_win_event";
2929+
reserved 1045;
29142930

29152931
// Extension range for Chrome: 1000-1999
29162932
// Next ID: 1083
@@ -3085,6 +3101,9 @@ message ChromeTrackEvent {
30853101
// trace event, to identify which objects cause delays in a trace.
30863102
optional MemoryDumpProvider memory_dump_provider = 1079;
30873103

3104+
optional ChromeAccessibilityWinNotifyWinEvent
3105+
chrome_accessibility_win_notify_win_event = 1080;
3106+
30883107
optional FrameIntervalDecider frame_interval_decider = 1081;
30893108

30903109
optional BeginFrameArgsV2 begin_frame_args = 1082;

protos/third_party/chromium/optimization_guide/common_quality_data.proto

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ message ContentAttributes {
376376
}
377377

378378
// The geometry of the content, in the page coordinate system.
379-
// Next ID: 7
379+
// Next ID: 8
380380
// NOTE: If `visual_bounding_box` is empty, i.e., the content is offscreen and
381381
// it's in an iframe, the `outer_bounding_box` may be incorrect. See crbug.com/384996050
382382
// for details.
@@ -401,6 +401,14 @@ message Geometry {
401401
// hit-testable in the DOM.
402402
BoundingRect visible_bounding_box = 2 [features = { field_presence: EXPLICIT }];
403403

404+
// The bounding box of the content node relative to the viewport including all
405+
// ancestor clipping. This is conceptually the same as `visible_bounding_box`,
406+
// but with coordinates calculated by the compositor on the client side. This
407+
// geometry should be more in sync with the browser screenshot, and should be
408+
// used for screenshot redaction when present. See crbug.com/441532128 for more
409+
// details.
410+
BoundingRect compositor_bounding_box = 7 [features = { field_presence: EXPLICIT }];
411+
404412
// Multiple boxes are used when there are multiple rectangles belonging to
405413
// the same node, e.g.: across multiple lines, columns or pages. In layout
406414
// terms, a node that does this is called a fragmentainer.
@@ -2085,7 +2093,7 @@ enum AXIntListAttribute {
20852093
}
20862094

20872095
// AX StringList attribute enum.
2088-
// Next ID: 4
2096+
// Next ID: 5
20892097
enum AXStringListAttribute {
20902098
AX_SLA_NONE = 0;
20912099

@@ -2094,6 +2102,8 @@ enum AXStringListAttribute {
20942102
AX_SLA_ARIANOTIFICATIONANNOUNCEMENTS = 2;
20952103

20962104
AX_SLA_ARIANOTIFICATIONTYPES = 3;
2105+
2106+
AX_SLA_TEXTOPERATIONREPLACEMENTSTRINGS = 4;
20972107
}
20982108

20992109
// This will be updated when there is a significant change in the parsing logic.

0 commit comments

Comments
 (0)