OLD | NEW |
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/corewm/capture_controller.h" | 5 #include "ui/wm/core/capture_controller.h" |
6 | 6 |
7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
8 #include "ui/aura/window_event_dispatcher.h" | 8 #include "ui/aura/window_event_dispatcher.h" |
9 | 9 |
10 namespace views { | 10 namespace views { |
11 namespace corewm { | 11 namespace corewm { |
12 | 12 |
13 //////////////////////////////////////////////////////////////////////////////// | 13 //////////////////////////////////////////////////////////////////////////////// |
14 // CaptureController, public: | 14 // CaptureController, public: |
15 | 15 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 capture_controller_->Detach(root_window_); | 137 capture_controller_->Detach(root_window_); |
138 if (!capture_controller_->is_active()) { | 138 if (!capture_controller_->is_active()) { |
139 delete capture_controller_; | 139 delete capture_controller_; |
140 capture_controller_ = NULL; | 140 capture_controller_ = NULL; |
141 } | 141 } |
142 root_window_ = NULL; | 142 root_window_ = NULL; |
143 } | 143 } |
144 | 144 |
145 } // namespace corewm | 145 } // namespace corewm |
146 } // namespace views | 146 } // namespace views |
OLD | NEW |