Add interface and Mac implementation for responsiveness::NativeEventObserver.
NativeEventObserver forwards will_run and did_run callbacks from the native event processor to responsiveness::Watcher. This CL also adds the macOS implementation. This requires modifying BrowserCrApplication and ShellCrApplication to support a new protocol: NativeEventProcessor, which allows observers to register for event will_run and did_run callbacks. Bug: 859155 Change-Id: Ie2db48efb4a93377ad54e91cbdb376d990b25f11 Reviewed-on: https://chromium-review.googlesource.com/1157235 Commit-Queue: Erik Chen <erikchen@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Reviewed-by:
Timothy Dresser <tdresser@chromium.org> Cr-Commit-Position: refs/heads/master@{#580345}
Showing
Please register or sign in to comment