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

Unified Diff: chrome/browser/process_singleton_win.cc

Issue 1585703002: Remove an unused function after https://codereview.chromium.org/1581473002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_win.cc
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index 68906af97d347dc0a7411f486126be60d1b9d335..a0b6266a33b2072d269214daa5e8f761ea13611b 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -172,25 +172,6 @@ bool ProcessLaunchNotification(
return true;
}
-// Returns true if Chrome needs to be relaunched into Windows 8 immersive mode.
-// Following conditions apply:-
-// 1. Windows 8 or greater.
-// 2. Not in Windows 8 immersive mode.
-// 3. Chrome is default browser.
-// 4. Process integrity level is not high.
-// 5. The profile data directory is the default directory.
-// 6. Last used mode was immersive/machine is a tablet.
-// TODO(ananta)
-// Move this function to a common place as the Windows 8 delegate_execute
-// handler can possibly use this.
-bool ShouldLaunchInWindows8ImmersiveMode(const base::FilePath& user_data_dir) {
- // Returning false from this function doesn't mean we don't launch immersive
- // mode in Aura. This function is specifically called in case when we need
- // to relaunch desktop launched chrome into immersive mode through 'relaunch'
- // menu. In case of Aura, we will use delegate_execute to do the relaunch.
- return false;
-}
-
bool DisplayShouldKillMessageBox() {
return chrome::ShowMessageBox(
NULL, l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698