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

Unified Diff: chrome/browser/ui/aura/tabs/dock_info_auralinux.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
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/aura/tabs/dock_info_auralinux.cc
diff --git a/chrome/browser/ui/aura/tabs/dock_info_auralinux.cc b/chrome/browser/ui/aura/tabs/dock_info_auralinux.cc
index d43de3baab635b0ee33c63751fcf5bcd0f666c87..c26d04622178d1bc1e46e88a67bbb1d6a9256b1b 100644
--- a/chrome/browser/ui/aura/tabs/dock_info_auralinux.cc
+++ b/chrome/browser/ui/aura/tabs/dock_info_auralinux.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/tabs/dock_info.h"
+#include "base/debug/trace_event.h"
#include "chrome/browser/ui/host_desktop.h"
#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
@@ -179,6 +180,9 @@ gfx::NativeView DockInfo::GetLocalProcessWindowAtPoint(
chrome::HostDesktopType host_desktop_type,
const gfx::Point& screen_point,
const std::set<gfx::NativeView>& ignore) {
+ TRACE_EVENT1("ui", "DockInfo::GetLocalProcessWindowAtPoint",
+ "screen_point", screen_point.ToString());
+
// The X11 server is the canonical state of what the window stacking order
// is.
XID xid =
« no previous file with comments | « no previous file | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698