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

Unified Diff: content/common/swapped_out_messages.cc

Issue 1777503003: More strict restrictions for content -> content/shell dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary namespace-qualification. Created 4 years, 9 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 | « content/common/DEPS ('k') | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/swapped_out_messages.cc
diff --git a/content/common/swapped_out_messages.cc b/content/common/swapped_out_messages.cc
index 6815b1dcd80c2d2a0831f0abb43a5c8e5b5ba79d..718dd08e49a7bf6075e03349c1e41d688bf740a5 100644
--- a/content/common/swapped_out_messages.cc
+++ b/content/common/swapped_out_messages.cc
@@ -9,7 +9,6 @@
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
#include "content/public/common/content_client.h"
-#include "content/shell/common/shell_messages.h"
namespace content {
@@ -48,9 +47,7 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) {
case FrameHostMsg_DidAssignPageId::ID:
// A swapped-out frame's opener might be updated with window.open.
case FrameHostMsg_DidChangeOpener::ID:
- // Used in layout tests; handled in BlinkTestController.
- case ShellViewHostMsg_PrintMessage::ID:
- case ShellViewHostMsg_LayoutDumpFlagsChanged::ID:
+ // For handling pop-ups from cross-site frames.
case ViewHostMsg_CreateWidget::ID:
return true;
default:
« no previous file with comments | « content/common/DEPS ('k') | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698