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

Side by Side Diff: src/platform/window_manager/hotkey_overlay.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_IMAGE_OVERLAY_H__ 5 #ifndef WINDOW_MANAGER_IMAGE_OVERLAY_H_
6 #define __PLATFORM_WINDOW_MANAGER_IMAGE_OVERLAY_H__ 6 #define WINDOW_MANAGER_IMAGE_OVERLAY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <tr1/memory> 10 #include <tr1/memory>
11 11
12 extern "C" { 12 extern "C" {
13 #include <X11/Xlib.h> 13 #include <X11/Xlib.h>
14 } 14 }
15 15
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
17 #include "base/scoped_ptr.h" 17 #include "base/scoped_ptr.h"
18 #include "window_manager/clutter_interface.h" 18 #include "window_manager/clutter_interface.h"
19 19
20 namespace chromeos { 20 namespace window_manager {
21 21
22 class ClutterInterface; 22 class ClutterInterface;
23 class XConnection; 23 class XConnection;
24 24
25 // Display overlay images to help users learn keyboard shortcuts. 25 // Display overlay images to help users learn keyboard shortcuts.
26 // The actor returned by group() should be added to the stage and moved to 26 // The actor returned by group() should be added to the stage and moved to
27 // its center; the group's visibility and opacity can be manipulated 27 // its center; the group's visibility and opacity can be manipulated
28 // directly. 28 // directly.
29 class HotkeyOverlay { 29 class HotkeyOverlay {
30 public: 30 public:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool left_ctrl_pressed_; 68 bool left_ctrl_pressed_;
69 bool right_ctrl_pressed_; 69 bool right_ctrl_pressed_;
70 bool left_alt_pressed_; 70 bool left_alt_pressed_;
71 bool right_alt_pressed_; 71 bool right_alt_pressed_;
72 bool left_shift_pressed_; 72 bool left_shift_pressed_;
73 bool right_shift_pressed_; 73 bool right_shift_pressed_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(HotkeyOverlay); 75 DISALLOW_COPY_AND_ASSIGN(HotkeyOverlay);
76 }; 76 };
77 77
78 } // namespace chromeos 78 } // namespace window_manager
79 79
80 #endif 80 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698