| 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 #ifndef UI_AURA_CLIENT_CAPTURE_CLIENT_H_ | 5 #ifndef UI_AURA_CLIENT_CAPTURE_CLIENT_H_ |
| 6 #define UI_AURA_CLIENT_CAPTURE_CLIENT_H_ | 6 #define UI_AURA_CLIENT_CAPTURE_CLIENT_H_ |
| 7 | 7 |
| 8 #include "ui/aura/aura_export.h" | 8 #include "ui/aura/aura_export.h" |
| 9 | 9 |
| 10 namespace aura { | 10 namespace aura { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Sets/Gets the capture client on the root Window. | 38 // Sets/Gets the capture client on the root Window. |
| 39 AURA_EXPORT void SetCaptureClient(Window* root_window, | 39 AURA_EXPORT void SetCaptureClient(Window* root_window, |
| 40 CaptureClient* client); | 40 CaptureClient* client); |
| 41 AURA_EXPORT CaptureClient* GetCaptureClient(Window* root_window); | 41 AURA_EXPORT CaptureClient* GetCaptureClient(Window* root_window); |
| 42 | 42 |
| 43 // A utility function to get the current capture window. Returns NULL | 43 // A utility function to get the current capture window. Returns NULL |
| 44 // if the window doesn't have a root window, or there is no capture window. | 44 // if the window doesn't have a root window, or there is no capture window. |
| 45 AURA_EXPORT Window* GetCaptureWindow(Window* window); | 45 AURA_EXPORT Window* GetCaptureWindow(Window* window); |
| 46 | 46 |
| 47 } // namespace clients | 47 } // namespace client |
| 48 } // namespace aura | 48 } // namespace aura |
| 49 | 49 |
| 50 #endif // UI_AURA_CLIENT_CAPTURE_CLIENT_H_ | 50 #endif // UI_AURA_CLIENT_CAPTURE_CLIENT_H_ |
| OLD | NEW |