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

Side by Side Diff: ui/wm/core/wm_state.h

Issue 219743002: x11: Move X event handling out of the message-pump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r261267 Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/wm/DEPS ('k') | ui/wm/core/wm_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium 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 UI_WM_CORE_WM_STATE_H_ 5 #ifndef UI_WM_CORE_WM_STATE_H_
6 #define UI_WM_CORE_WM_STATE_H_ 6 #define UI_WM_CORE_WM_STATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/wm/core/wm_core_export.h" 9 #include "ui/wm/core/wm_core_export.h"
10 10
11 namespace ui {
12 class PlatformEventSource;
13 }
14
11 namespace wm { 15 namespace wm {
12 16
13 class TransientWindowController; 17 class TransientWindowController;
14 class TransientWindowStackingClient; 18 class TransientWindowStackingClient;
15 19
16 // Installs state needed by the window manager. 20 // Installs state needed by the window manager.
17 class WM_CORE_EXPORT WMState { 21 class WM_CORE_EXPORT WMState {
18 public: 22 public:
19 WMState(); 23 WMState();
20 ~WMState(); 24 ~WMState();
21 25
22 // WindowStackingClient: 26 // WindowStackingClient:
23 private: 27 private:
24 scoped_ptr<TransientWindowStackingClient> window_stacking_client_; 28 scoped_ptr<TransientWindowStackingClient> window_stacking_client_;
25 scoped_ptr<TransientWindowController> transient_window_client_; 29 scoped_ptr<TransientWindowController> transient_window_client_;
30 scoped_ptr<ui::PlatformEventSource> event_source_;
26 31
27 DISALLOW_COPY_AND_ASSIGN(WMState); 32 DISALLOW_COPY_AND_ASSIGN(WMState);
28 }; 33 };
29 34
30 } // namespace wm 35 } // namespace wm
31 36
32 #endif // UI_WM_CORE_WM_STATE_H_ 37 #endif // UI_WM_CORE_WM_STATE_H_
OLDNEW
« no previous file with comments | « ui/wm/DEPS ('k') | ui/wm/core/wm_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698