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

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

Issue 1297173003: Revert of aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | content/browser/browser_main_loop.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 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/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "content/browser/browser_process_sub_thread.h" 13 #include "content/browser/browser_process_sub_thread.h"
14 #include "content/public/browser/browser_main_runner.h" 14 #include "content/public/browser/browser_main_runner.h"
15 15
16 #if defined(USE_AURA)
17 namespace aura {
18 class Env;
19 }
20 #endif
21
22 namespace base { 16 namespace base {
23 class CommandLine; 17 class CommandLine;
24 class FilePath; 18 class FilePath;
25 class HighResolutionTimerManager; 19 class HighResolutionTimerManager;
26 class MessageLoop; 20 class MessageLoop;
27 class PowerMonitor; 21 class PowerMonitor;
28 class SystemMonitor; 22 class SystemMonitor;
29 class MemoryPressureMonitor; 23 class MemoryPressureMonitor;
30 namespace trace_event { 24 namespace trace_event {
31 class TraceMemoryController; 25 class TraceMemoryController;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 scoped_ptr<base::PowerMonitor> power_monitor_; 187 scoped_ptr<base::PowerMonitor> power_monitor_;
194 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_; 188 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_;
195 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; 189 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_;
196 190
197 // Per-process listener for online state changes. 191 // Per-process listener for online state changes.
198 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; 192 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_;
199 193
200 scoped_ptr<base::trace_event::TraceEventSystemStatsMonitor> 194 scoped_ptr<base::trace_event::TraceEventSystemStatsMonitor>
201 system_stats_monitor_; 195 system_stats_monitor_;
202 196
203 #if defined(USE_AURA)
204 scoped_ptr<aura::Env> env_;
205 #endif
206
207 #if defined(OS_WIN) 197 #if defined(OS_WIN)
208 scoped_ptr<SystemMessageWindowWin> system_message_window_; 198 scoped_ptr<SystemMessageWindowWin> system_message_window_;
209 #endif 199 #endif
210 200
211 #if defined(OS_ANDROID) 201 #if defined(OS_ANDROID)
212 // Android implementation of ScreenOrientationDelegate 202 // Android implementation of ScreenOrientationDelegate
213 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_; 203 scoped_ptr<ScreenOrientationDelegate> screen_orientation_delegate_;
214 #endif 204 #endif
215 205
216 scoped_ptr<MemoryObserver> memory_observer_; 206 scoped_ptr<MemoryObserver> memory_observer_;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; 261 scoped_ptr<TimeZoneMonitor> time_zone_monitor_;
272 262
273 // DO NOT add members here. Add them to the right categories above. 263 // DO NOT add members here. Add them to the right categories above.
274 264
275 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 265 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
276 }; 266 };
277 267
278 } // namespace content 268 } // namespace content
279 269
280 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 270 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « chromecast/browser/cast_browser_main_parts.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698