OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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_AURA_X11_SCOPED_CAPTURE_H_ | |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_SCOPED_CAPTURE_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 | |
10 typedef unsigned long XID; | |
11 | |
12 namespace views { | |
13 | |
14 class X11ScopedCapture { | |
Elliot Glaysher
2013/12/16 18:29:18
nit: document class
sadrul
2013/12/17 04:34:23
Done.
| |
15 public: | |
16 explicit X11ScopedCapture(XID window); | |
17 virtual ~X11ScopedCapture(); | |
18 | |
19 private: | |
20 bool captured_; | |
21 | |
22 DISALLOW_COPY_AND_ASSIGN(X11ScopedCapture); | |
23 }; | |
24 | |
25 } // namespace views | |
26 | |
27 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_SCOPED_CAPTURE_H_ | |
OLD | NEW |