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

Side by Side Diff: chrome/browser/lifetime/application_lifetime.h

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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 CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 5 #ifndef CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
6 #define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 6 #define CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 26 matching lines...) Expand all
37 }; 37 };
38 38
39 // Helper function to activate the desktop from Ash mode. The 39 // Helper function to activate the desktop from Ash mode. The
40 // |ash_execution_status| parameter indicates if we should exit Ash after 40 // |ash_execution_status| parameter indicates if we should exit Ash after
41 // activating desktop. 41 // activating desktop.
42 void ActivateDesktopHelper(AshExecutionStatus ash_execution_status); 42 void ActivateDesktopHelper(AshExecutionStatus ash_execution_status);
43 43
44 // Windows 7/8 specific: Like AttemptRestart but if chrome is running 44 // Windows 7/8 specific: Like AttemptRestart but if chrome is running
45 // in desktop mode it starts in metro mode and vice-versa. The switching like 45 // in desktop mode it starts in metro mode and vice-versa. The switching like
46 // the restarting is controlled by a preference. 46 // the restarting is controlled by a preference.
47 void AttemptRestartWithModeSwitch();
48 void AttemptRestartToDesktopMode(); 47 void AttemptRestartToDesktopMode();
49 // Launches Chrome into Windows 8 metro mode on Windows 8. On Windows 7 it 48 // Launches Chrome into Windows 8 metro mode on Windows 8. On Windows 7 it
50 // launches Chrome into Windows ASH. 49 // launches Chrome into Windows ASH.
51 void AttemptRestartToMetroMode(); 50 void AttemptRestartToMetroMode();
52 #endif 51 #endif
53 52
54 // Attempt to exit by closing all browsers. This is equivalent to 53 // Attempt to exit by closing all browsers. This is equivalent to
55 // CloseAllBrowsers() on platforms where the application exits 54 // CloseAllBrowsers() on platforms where the application exits
56 // when no more windows are remaining. On other platforms (the Mac), 55 // when no more windows are remaining. On other platforms (the Mac),
57 // this will additionally exit the application if all browsers are 56 // this will additionally exit the application if all browsers are
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // processing required. 112 // processing required.
114 void HandleAppExitingForPlatform(); 113 void HandleAppExitingForPlatform();
115 114
116 // Returns true if we can start the shutdown sequence for the browser, i.e. the 115 // Returns true if we can start the shutdown sequence for the browser, i.e. the
117 // last browser window is being closed. 116 // last browser window is being closed.
118 bool ShouldStartShutdown(Browser* browser); 117 bool ShouldStartShutdown(Browser* browser);
119 118
120 } // namespace chrome 119 } // namespace chrome
121 120
122 #endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_ 121 #endif // CHROME_BROWSER_LIFETIME_APPLICATION_LIFETIME_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_win.cc ('k') | chrome/browser/lifetime/application_lifetime_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698