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

Side by Side Diff: ui/aura/env.h

Issue 9585028: Mac Aura fails compile and some tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ash/wm/toplevel_window_event_filter_unittest.cc ('k') | ui/aura/gestures/gesture_point.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AURA_ENV_H_ 5 #ifndef UI_AURA_ENV_H_
6 #define UI_AURA_ENV_H_ 6 #define UI_AURA_ENV_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "ui/aura/aura_export.h" 12 #include "ui/aura/aura_export.h"
13 #include "ui/aura/client/stacking_client.h" 13 #include "ui/aura/client/stacking_client.h"
14 14
15 namespace aura { 15 namespace aura {
16 16
17 class EnvObserver; 17 class EnvObserver;
18 class Window; 18 class Window;
19 19
20 #if !defined(OS_MACOSX)
20 class Dispatcher : public MessageLoop::Dispatcher { 21 class Dispatcher : public MessageLoop::Dispatcher {
21 public: 22 public:
22 virtual ~Dispatcher() {} 23 virtual ~Dispatcher() {}
23 }; 24 };
24 25
25 #if !defined(OS_MACOSX)
26 // Creates a platform-specific native event dispatcher. 26 // Creates a platform-specific native event dispatcher.
27 Dispatcher* CreateDispatcher(); 27 Dispatcher* CreateDispatcher();
28 #endif 28 #endif
29 29
30 // A singleton object that tracks general state within Aura. 30 // A singleton object that tracks general state within Aura.
31 // TODO(beng): manage RootWindows. 31 // TODO(beng): manage RootWindows.
32 class AURA_EXPORT Env { 32 class AURA_EXPORT Env {
33 public: 33 public:
34 Env(); 34 Env();
35 ~Env(); 35 ~Env();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 static Env* instance_; 72 static Env* instance_;
73 int mouse_button_flags_; 73 int mouse_button_flags_;
74 client::StackingClient* stacking_client_; 74 client::StackingClient* stacking_client_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(Env); 76 DISALLOW_COPY_AND_ASSIGN(Env);
77 }; 77 };
78 78
79 } // namespace aura 79 } // namespace aura
80 80
81 #endif // UI_AURA_ENV_H_ 81 #endif // UI_AURA_ENV_H_
OLDNEW
« no previous file with comments | « ash/wm/toplevel_window_event_filter_unittest.cc ('k') | ui/aura/gestures/gesture_point.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698