Index: ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc |
index 180614e955525046fbbfc4e2a0b5b810d681ca8a..3963399b5258f24796d29e326057c322556d4243 100644 |
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc |
@@ -11,6 +11,7 @@ |
#include <X11/Xutil.h> |
#include "base/basictypes.h" |
+#include "base/debug/trace_event.h" |
#include "base/message_loop/message_pump_x11.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -1091,6 +1092,9 @@ std::list<XID>& DesktopRootWindowHostX11::open_windows() { |
bool DesktopRootWindowHostX11::Dispatch(const base::NativeEvent& event) { |
XEvent* xev = event; |
+ TRACE_EVENT1("views", "DesktopRootWindowHostX11::Dispatch", |
+ "event->type", event->type); |
+ |
// May want to factor CheckXEventForConsistency(xev); into a common location |
// since it is called here. |
switch (xev->type) { |