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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.cc

Issue 56053005: linux_aura: Improve window drag performance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT Created 7 years, 1 month 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
Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
index c54378e1857ba7a2baf59ae8aa5ab07a5fd24a22..7b99790e4ada1ec08d000fa58006f99435d7c342 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
@@ -10,6 +10,7 @@
// It clashes with out RootWindow.
#undef RootWindow
+#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/x11/edid_parser_x11.h"
#include "ui/aura/root_window.h"
@@ -132,6 +133,8 @@ bool DesktopScreenX11::IsDIPEnabled() {
}
gfx::Point DesktopScreenX11::GetCursorScreenPoint() {
+ TRACE_EVENT0("views", "DesktopScreenX11::GetCursorScreenPoint()");
+
XDisplay* display = gfx::GetXDisplay();
::Window root, child;

Powered by Google App Engine
This is Rietveld 408576698