| Index: content/shell/common/shell_content_client.cc
|
| diff --git a/content/shell/common/shell_content_client.cc b/content/shell/common/shell_content_client.cc
|
| index 82c2f0c5033802df64e4fbf3a6e9e7923c1e8b76..ecb53f2267aabf3dfa4e3e49b112a493797d5954 100644
|
| --- a/content/shell/common/shell_content_client.cc
|
| +++ b/content/shell/common/shell_content_client.cc
|
| @@ -13,6 +13,7 @@
|
| #include "content/app/strings/grit/content_strings.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/user_agent.h"
|
| +#include "content/shell/common/shell_messages.h"
|
| #include "content/shell/common/shell_switches.h"
|
| #include "grit/shell_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -48,6 +49,12 @@ ShellContentClient::ShellContentClient()
|
|
|
| ShellContentClient::~ShellContentClient() {}
|
|
|
| +bool ShellContentClient::CanSendWhileSwappedOut(const IPC::Message* message) {
|
| + // Used in layout tests; handled in BlinkTestController.
|
| + return message->type() == ShellViewHostMsg_PrintMessage::ID ||
|
| + message->type() == ShellViewHostMsg_LayoutDumpFlagsChanged::ID;
|
| +}
|
| +
|
| std::string ShellContentClient::GetUserAgent() const {
|
| return GetShellUserAgent();
|
| }
|
|
|