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

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

Issue 16897006: Move message_pump to base/message_loop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/demo/demo_main.cc ('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_DEVICE_LIST_UPDATER_AURAX11_H_ 5 #ifndef UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
6 #define UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_ 6 #define UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/message_pump_observer.h" 10 #include "base/message_loop/message_pump_observer.h"
11 11
12 namespace aura { 12 namespace aura {
13 13
14 // Filters out global XInput notifications and updates the DeviceList. 14 // Filters out global XInput notifications and updates the DeviceList.
15 class DeviceListUpdaterAuraX11 : public base::MessagePumpObserver { 15 class DeviceListUpdaterAuraX11 : public base::MessagePumpObserver {
16 public: 16 public:
17 DeviceListUpdaterAuraX11(); 17 DeviceListUpdaterAuraX11();
18 virtual ~DeviceListUpdaterAuraX11(); 18 virtual ~DeviceListUpdaterAuraX11();
19 19
20 // Overridden from base::MessagePumpObserver: 20 // Overridden from base::MessagePumpObserver:
21 virtual base::EventStatus WillProcessEvent( 21 virtual base::EventStatus WillProcessEvent(
22 const base::NativeEvent& event) OVERRIDE; 22 const base::NativeEvent& event) OVERRIDE;
23 virtual void DidProcessEvent( 23 virtual void DidProcessEvent(
24 const base::NativeEvent& event) OVERRIDE; 24 const base::NativeEvent& event) OVERRIDE;
25 25
26 private: 26 private:
27 DISALLOW_COPY_AND_ASSIGN(DeviceListUpdaterAuraX11); 27 DISALLOW_COPY_AND_ASSIGN(DeviceListUpdaterAuraX11);
28 }; 28 };
29 29
30 } // namespace aura 30 } // namespace aura
31 31
32 #endif // UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_ 32 #endif // UI_AURA_DEVICE_LIST_UPDATER_AURAX11_H_
OLDNEW
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/env.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698