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

Unified Diff: ui/aura/window_tree_host_ozone.cc

Issue 778043004: Set capture to the window being dragged when dragging a window on Ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_capture
Patch Set: Created 6 years 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 | « ash/wm/toplevel_window_event_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_ozone.cc
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc
index 2fe6a9fffdc25da9ea97acb564bee91958bcf5ac..fe7f52c22fec2dbee396c6d37af1cd749096a8a1 100644
--- a/ui/aura/window_tree_host_ozone.cc
+++ b/ui/aura/window_tree_host_ozone.cc
@@ -86,11 +86,11 @@ gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const {
}
void WindowTreeHostOzone::SetCapture() {
- platform_window_->SetCapture();
+ //platform_window_->SetCapture();
pkotwicz 2014/12/08 20:05:18 I have commented this out to demonstrate that nati
}
void WindowTreeHostOzone::ReleaseCapture() {
- platform_window_->ReleaseCapture();
+ //platform_window_->ReleaseCapture();
}
void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) {
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698