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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 238263004: Remove VIEW_TYPE_NOTIFICATION since it's not used anymore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 8 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 | chrome/browser/memory_details.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 263855)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -2352,9 +2352,7 @@
}
}
- if (view_type == extensions::VIEW_TYPE_NOTIFICATION) {
- web_prefs->allow_scripts_to_close_windows = true;
- } else if (view_type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) {
+ if (view_type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) {
// Disable all kinds of acceleration for background pages.
// See http://crbug.com/96005 and http://crbug.com/96006
web_prefs->force_compositing_mode = false;
« no previous file with comments | « no previous file | chrome/browser/memory_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698