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

Side by Side Diff: ui/views/widget/desktop_capture_client.cc

Issue 11189148: desktop linux aura: Fix event/capture focus after dragging a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/widget/desktop_capture_client.h" 5 #include "ui/views/widget/desktop_capture_client.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/root_window.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 23 matching lines...) Expand all
34 void DesktopCaptureClient::ReleaseCapture(aura::Window* window) { 34 void DesktopCaptureClient::ReleaseCapture(aura::Window* window) {
35 if (capture_window_ != window) 35 if (capture_window_ != window)
36 return; 36 return;
37 SetCapture(NULL); 37 SetCapture(NULL);
38 } 38 }
39 39
40 aura::Window* DesktopCaptureClient::GetCaptureWindow() { 40 aura::Window* DesktopCaptureClient::GetCaptureWindow() {
41 return capture_window_; 41 return capture_window_;
42 } 42 }
43 43
44 } // namespace views 44 } // namespace views
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698