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

Side by Side Diff: src/platform/window_manager/wm_ipc.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_WM_IPC_H__ 5 #ifndef WINDOW_MANAGER_WM_IPC_H_
6 #define __PLATFORM_WINDOW_MANAGER_WM_IPC_H__ 6 #define WINDOW_MANAGER_WM_IPC_H_
7 7
8 #include <gdk/gdk.h> // for GdkEventClient 8 #include <gdk/gdk.h> // for GdkEventClient
9 extern "C" { 9 extern "C" {
10 #include <X11/Xlib.h> 10 #include <X11/Xlib.h>
11 } 11 }
12 12
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "chromeos/obsolete_logging.h" 17 #include "chromeos/obsolete_logging.h"
18 18
19 typedef ::Atom XAtom; 19 typedef ::Atom XAtom;
20 typedef ::Window XWindow; 20 typedef ::Window XWindow;
21 21
22 namespace chromeos { 22 namespace window_manager {
23 23
24 class AtomCache; // from atom_cache.h 24 class AtomCache; // from atom_cache.h
25 class XConnection; // from x_connection.h 25 class XConnection; // from x_connection.h
26 26
27 // This class simplifies window-manager-to-client-app communication. It 27 // This class simplifies window-manager-to-client-app communication. It
28 // consists primarily of utility methods to set and read properties on 28 // consists primarily of utility methods to set and read properties on
29 // client windows and to pass messages back and forth between the WM and 29 // client windows and to pass messages back and forth between the WM and
30 // apps. 30 // apps.
31 class WmIpc { 31 class WmIpc {
32 public: 32 public:
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 private: 230 private:
231 XConnection* xconn_; // not owned 231 XConnection* xconn_; // not owned
232 AtomCache* atom_cache_; // not owned 232 AtomCache* atom_cache_; // not owned
233 233
234 // Window used for sending messages to the window manager. 234 // Window used for sending messages to the window manager.
235 XWindow wm_window_; 235 XWindow wm_window_;
236 236
237 DISALLOW_COPY_AND_ASSIGN(WmIpc); 237 DISALLOW_COPY_AND_ASSIGN(WmIpc);
238 }; 238 };
239 239
240 } // namespace chromeos 240 } // namespace window_manager
241 241
242 #endif 242 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698