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

Side by Side Diff: src/platform/window_manager/real_x_connection.h

Issue 501116: wm: Update namespace and header define guards. (Closed)
Patch Set: move using directive inside of namespace for consistency Created 11 years 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
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium OS 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 __PLATFORM_WINDOW_MANAGER_REAL_X_CONNECTION_H__ 5 #ifndef WINDOW_MANAGER_REAL_X_CONNECTION_H_
6 #define __PLATFORM_WINDOW_MANAGER_REAL_X_CONNECTION_H__ 6 #define WINDOW_MANAGER_REAL_X_CONNECTION_H_
7 7
8 #include "window_manager/x_connection.h" 8 #include "window_manager/x_connection.h"
9 9
10 namespace chromeos { 10 namespace window_manager {
11 11
12 // This wraps an actual connection to an X server. 12 // This wraps an actual connection to an X server.
13 class RealXConnection : public XConnection { 13 class RealXConnection : public XConnection {
14 public: 14 public:
15 explicit RealXConnection(Display* display); 15 explicit RealXConnection(Display* display);
16 16
17 bool GetWindowGeometry( 17 bool GetWindowGeometry(
18 XWindow xid, int* x, int* y, int* width, int* height); 18 XWindow xid, int* x, int* y, int* width, int* height);
19 bool MapWindow(XWindow xid); 19 bool MapWindow(XWindow xid);
20 bool UnmapWindow(XWindow xid); 20 bool UnmapWindow(XWindow xid);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // The root window. 98 // The root window.
99 XWindow root_; 99 XWindow root_;
100 100
101 // ID for the UTF8_STRING atom (we look this up ourselves so as to avoid 101 // ID for the UTF8_STRING atom (we look this up ourselves so as to avoid
102 // a circular dependency with AtomCache). 102 // a circular dependency with AtomCache).
103 XAtom utf8_string_atom_; 103 XAtom utf8_string_atom_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(RealXConnection); 105 DISALLOW_COPY_AND_ASSIGN(RealXConnection);
106 }; 106 };
107 107
108 } // namespace chromeos 108 } // namespace window_manager
109 109
110 #endif 110 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698