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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 281903002: Remove obsolete kiosk new window blocking code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove header Created 6 years, 7 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index e9df65a949bf99422c2baecb8c48121f5dd77806..700f680f2dda81f1edc381be6f6bdaab73e01b85 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -17,7 +17,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/threading/sequenced_worker_pool.h"
-#include "chrome/browser/app_mode/app_mode_utils.h"
#include "chrome/browser/browser_about_handler.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_shutdown.h"
@@ -2151,12 +2150,6 @@ bool ChromeContentBrowserClient::CanCreateWindow(
return true;
}
- // No new browser window (popup or tab) in app mode.
- if (container_type == WINDOW_CONTAINER_TYPE_NORMAL &&
- chrome::IsRunningInForcedAppMode()) {
- return false;
- }
-
if (is_guest)
return true;
« 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