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

Unified Diff: ui/aura/window_tree_host.h

Issue 1456963002: Make browser windows override_redirect when dragging tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make browser windows override_redirect when dragging tabs. Created 4 years, 11 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 | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index 908d9240a596356b7db5007218bc8b321fd1e932..b61a5553b096db5b04fbad95fd941650bf1b40e8 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -170,6 +170,11 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate,
// Releases OS capture of the root window.
virtual void ReleaseCapture() = 0;
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ // Remaps as a normal (i.e. non-override-redirect) window.
+ virtual void RemapAsNormalWindow() = 0;
+#endif
+
protected:
friend class TestScreen; // TODO(beng): see if we can remove/consolidate.
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | ui/aura/window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698