| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ | |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "ui/aura/client/capture_client.h" | |
| 11 #include "ui/views/views_export.h" | |
| 12 | |
| 13 namespace views { | |
| 14 | |
| 15 class VIEWS_EXPORT DesktopCaptureClient : public aura::client::CaptureClient { | |
| 16 public: | |
| 17 DesktopCaptureClient(); | |
| 18 virtual ~DesktopCaptureClient(); | |
| 19 | |
| 20 private: | |
| 21 // Overridden from aura::client::CaptureClient: | |
| 22 virtual void SetCapture(aura::Window* window) OVERRIDE; | |
| 23 virtual void ReleaseCapture(aura::Window* window) OVERRIDE; | |
| 24 virtual aura::Window* GetCaptureWindow() OVERRIDE; | |
| 25 | |
| 26 aura::Window* capture_window_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureClient); | |
| 29 }; | |
| 30 | |
| 31 } // namespace views | |
| 32 | |
| 33 #endif // UI_VIEWS_WIDGET_DESKTOP_CAPTURE_CLIENT_H_ | |
| OLD | NEW |