summaryrefslogtreecommitdiffstats
path: root/ash/host/ash_window_tree_host_ozone.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/host/ash_window_tree_host_ozone.cc')
-rw-r--r--ash/host/ash_window_tree_host_ozone.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/host/ash_window_tree_host_ozone.cc b/ash/host/ash_window_tree_host_ozone.cc
index 7c23cd9..cb2ec66 100644
--- a/ash/host/ash_window_tree_host_ozone.cc
+++ b/ash/host/ash_window_tree_host_ozone.cc
@@ -8,6 +8,7 @@
#include "ash/host/root_window_transformer.h"
#include "ash/host/transformer_helper.h"
#include "base/command_line.h"
+#include "base/trace_event/trace_event.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host_ozone.h"
#include "ui/events/null_event_targeter.h"
@@ -123,6 +124,7 @@ void AshWindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) {
}
void AshWindowTreeHostOzone::DispatchEvent(ui::Event* event) {
+ TRACE_EVENT0("input", "AshWindowTreeHostOzone::DispatchEvent");
if (event->IsLocatedEvent())
TranslateLocatedEvent(static_cast<ui::LocatedEvent*>(event));
SendEventToProcessor(event);