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

Unified Diff: ui/aura/window_tree_host_ozone.cc

Issue 967403005: Add event trace to DispatchEvent on ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_ozone.cc
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc
index 0b6df97bb1717ac05c277c5fc313570a4c2a2551..1559c243e0b03696dd9da653b945d31c6b7ab332 100644
--- a/ui/aura/window_tree_host_ozone.cc
+++ b/ui/aura/window_tree_host_ozone.cc
@@ -4,6 +4,7 @@
#include "ui/aura/window_tree_host_ozone.h"
+#include "base/trace_event/trace_event.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/ozone/public/ozone_platform.h"
#include "ui/platform_window/platform_window.h"
@@ -81,6 +82,7 @@ void WindowTreeHostOzone::OnDamageRect(const gfx::Rect& damaged_region) {
}
void WindowTreeHostOzone::DispatchEvent(ui::Event* event) {
spang 2015/03/04 00:14:05 FYI ash overrides this function. It will not be c
+ TRACE_EVENT0("input", "WindowTreeHostOzone::DispatchEvent");
SendEventToProcessor(event);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698