Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: ui/latency/mojo/latency_info_struct_traits.cc

Issue 2814483002: Splitting up RenderWidgetHostLatencyTracker and some renames. (Closed)
Patch Set: [Moving OnGpuSwapBuffersCompleted() back up. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/latency/mojo/latency_info.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/mojo/latency_info_struct_traits.cc
diff --git a/ui/latency/mojo/latency_info_struct_traits.cc b/ui/latency/mojo/latency_info_struct_traits.cc
index babf03b702894b3249f5f9a21082fbfe66fdc22e..a3a60d6e41b7c7fafa4db321a338510ae07fea8e 100644
--- a/ui/latency/mojo/latency_info_struct_traits.cc
+++ b/ui/latency/mojo/latency_info_struct_traits.cc
@@ -53,9 +53,9 @@ ui::mojom::LatencyComponentType UILatencyComponentTypeToMojo(
case ui::INPUT_EVENT_LATENCY_RENDERER_SWAP_COMPONENT:
return ui::mojom::LatencyComponentType::
INPUT_EVENT_LATENCY_RENDERER_SWAP_COMPONENT;
- case ui::INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT:
+ case ui::DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT:
return ui::mojom::LatencyComponentType::
- INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT;
+ DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT;
case ui::INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT:
return ui::mojom::LatencyComponentType::
INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT;
@@ -125,8 +125,8 @@ ui::LatencyComponentType MojoLatencyComponentTypeToUI(
INPUT_EVENT_LATENCY_RENDERER_SWAP_COMPONENT:
return ui::INPUT_EVENT_LATENCY_RENDERER_SWAP_COMPONENT;
case ui::mojom::LatencyComponentType::
- INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT:
- return ui::INPUT_EVENT_BROWSER_RECEIVED_RENDERER_SWAP_COMPONENT;
+ DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT:
+ return ui::DISPLAY_COMPOSITOR_RECEIVED_FRAME_COMPONENT;
case ui::mojom::LatencyComponentType::INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT:
return ui::INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT;
case ui::mojom::LatencyComponentType::
« no previous file with comments | « ui/latency/mojo/latency_info.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698