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

Side by Side Diff: src/platform/window_manager/panel.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_PANEL_H__ 5 #ifndef WINDOW_MANAGER_PANEL_H_
6 #define __PLATFORM_WINDOW_MANAGER_PANEL_H__ 6 #define WINDOW_MANAGER_PANEL_H_
7 7
8 extern "C" { 8 extern "C" {
9 #include <X11/Xlib.h> 9 #include <X11/Xlib.h>
10 } 10 }
11 11
12 #include <vector> 12 #include <vector>
13 13
14 #include <gtest/gtest_prod.h> // for FRIEND_TEST() macro 14 #include <gtest/gtest_prod.h> // for FRIEND_TEST() macro
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 #include "window_manager/motion_event_coalescer.h" 19 #include "window_manager/motion_event_coalescer.h"
20 #include "window_manager/stacking_manager.h" 20 #include "window_manager/stacking_manager.h"
21 #include "window_manager/window.h" // for Window::Gravity 21 #include "window_manager/window.h" // for Window::Gravity
22 22
23 typedef ::Window XWindow; 23 typedef ::Window XWindow;
24 24
25 namespace chromeos { 25 namespace window_manager {
26 26
27 class PanelBar; 27 class PanelBar;
28 class WindowManager; 28 class WindowManager;
29 29
30 // A single panel. Each panel consists of both a panel window (the panel's 30 // A single panel. Each panel consists of both a panel window (the panel's
31 // contents) and a titlebar window (a small window drawn in the bar when 31 // contents) and a titlebar window (a small window drawn in the bar when
32 // the panel is collapsed or at the top of the panel when it's expanded). 32 // the panel is collapsed or at the top of the panel when it's expanded).
33 // 'initial_right' is the initial position of the right edge of the panel. 33 // 'initial_right' is the initial position of the right edge of the panel.
34 class Panel { 34 class Panel {
35 public: 35 public:
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 int drag_start_x_; 166 int drag_start_x_;
167 int drag_start_y_; 167 int drag_start_y_;
168 int drag_orig_width_; 168 int drag_orig_width_;
169 int drag_orig_height_; 169 int drag_orig_height_;
170 int drag_last_width_; 170 int drag_last_width_;
171 int drag_last_height_; 171 int drag_last_height_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(Panel); 173 DISALLOW_COPY_AND_ASSIGN(Panel);
174 }; 174 };
175 175
176 } // namespace chromeos 176 } // namespace window_manager
177 177
178 #endif 178 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698