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

Side by Side Diff: content/browser/browser_main_loop.h

Issue 23702008: Adds the UserInputMonitor implementation for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // True if the non-UI threads were created. 124 // True if the non-UI threads were created.
125 bool created_threads_; 125 bool created_threads_;
126 126
127 // Members initialized in |MainMessageLoopStart()| --------------------------- 127 // Members initialized in |MainMessageLoopStart()| ---------------------------
128 scoped_ptr<base::MessageLoop> main_message_loop_; 128 scoped_ptr<base::MessageLoop> main_message_loop_;
129 scoped_ptr<base::SystemMonitor> system_monitor_; 129 scoped_ptr<base::SystemMonitor> system_monitor_;
130 scoped_ptr<base::PowerMonitor> power_monitor_; 130 scoped_ptr<base::PowerMonitor> power_monitor_;
131 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_; 131 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_;
132 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; 132 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
133 // user_input_monitor_ has to outlive audio_manager_, so declared first. 133 // user_input_monitor_ has to outlive audio_manager_, so declared first.
134 scoped_ptr<media::UserInputMonitor> user_input_monitor_; 134 scoped_refptr<media::UserInputMonitor> user_input_monitor_;
135 scoped_ptr<media::AudioManager> audio_manager_; 135 scoped_ptr<media::AudioManager> audio_manager_;
136 scoped_ptr<media::MIDIManager> midi_manager_; 136 scoped_ptr<media::MIDIManager> midi_manager_;
137 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; 137 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_;
138 scoped_ptr<MediaStreamManager> media_stream_manager_; 138 scoped_ptr<MediaStreamManager> media_stream_manager_;
139 // Per-process listener for online state changes. 139 // Per-process listener for online state changes.
140 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 140 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
141 #if defined(OS_WIN) 141 #if defined(OS_WIN)
142 scoped_ptr<SystemMessageWindowWin> system_message_window_; 142 scoped_ptr<SystemMessageWindowWin> system_message_window_;
143 #elif defined(OS_LINUX) 143 #elif defined(OS_LINUX)
144 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; 144 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_;
(...skipping 25 matching lines...) Expand all
170 scoped_ptr<base::Thread> indexed_db_thread_; 170 scoped_ptr<base::Thread> indexed_db_thread_;
171 scoped_ptr<MemoryObserver> memory_observer_; 171 scoped_ptr<MemoryObserver> memory_observer_;
172 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; 172 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 174 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
175 }; 175 };
176 176
177 } // namespace content 177 } // namespace content
178 178
179 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 179 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/keyboard_event_counter.h » ('j') | media/base/user_input_monitor_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698