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

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

Issue 23483041: [Cleanup] Remove mac code from aura/ash/views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/aura/aura.gyp ('k') | ui/aura/env.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) 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 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 // Whether any touch device is currently down. 55 // Whether any touch device is currently down.
56 bool is_touch_down() const { return is_touch_down_; } 56 bool is_touch_down() const { return is_touch_down_; }
57 void set_touch_down(bool value) { is_touch_down_ = value; } 57 void set_touch_down(bool value) { is_touch_down_ = value; }
58 58
59 59
60 // Returns the native event dispatcher. The result should only be passed to 60 // Returns the native event dispatcher. The result should only be passed to
61 // base::RunLoop(dispatcher), or used to dispatch an event by 61 // base::RunLoop(dispatcher), or used to dispatch an event by
62 // |Dispatch(const NativeEvent&)| on it. It must never be stored. 62 // |Dispatch(const NativeEvent&)| on it. It must never be stored.
63 #if !defined(OS_MACOSX)
64 base::MessageLoop::Dispatcher* GetDispatcher(); 63 base::MessageLoop::Dispatcher* GetDispatcher();
65 #endif
66 64
67 // Invoked by RootWindow when its host is activated. 65 // Invoked by RootWindow when its host is activated.
68 void RootWindowActivated(RootWindow* root_window); 66 void RootWindowActivated(RootWindow* root_window);
69 67
70 private: 68 private:
71 friend class Window; 69 friend class Window;
72 friend class RootWindow; 70 friend class RootWindow;
73 71
74 void Init(); 72 void Init();
75 73
(...skipping 21 matching lines...) Expand all
97 #if defined(USE_X11) 95 #if defined(USE_X11)
98 DeviceListUpdaterAuraX11 device_list_updater_aurax11_; 96 DeviceListUpdaterAuraX11 device_list_updater_aurax11_;
99 #endif 97 #endif
100 98
101 DISALLOW_COPY_AND_ASSIGN(Env); 99 DISALLOW_COPY_AND_ASSIGN(Env);
102 }; 100 };
103 101
104 } // namespace aura 102 } // namespace aura
105 103
106 #endif // UI_AURA_ENV_H_ 104 #endif // UI_AURA_ENV_H_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/env.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698