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

Unified Diff: content/shell/shell_content_client.cc

Issue 7857019: Basic scaffolding for a "content shell", i.e. test browser over the content module. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/shell/shell_content_client.h ('k') | content/shell/shell_content_plugin_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_client.cc
===================================================================
--- content/shell/shell_content_client.cc (revision 0)
+++ content/shell/shell_content_client.cc (revision 0)
@@ -0,0 +1,51 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/shell/shell_content_client.h"
+
+#include "base/string_piece.h"
+
+namespace content {
+
+ShellContentClient::~ShellContentClient() {
+}
+
+void ShellContentClient::SetActiveURL(const GURL& url) {
+}
+
+void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) {
+}
+
+void ShellContentClient::AddPepperPlugins(
+ std::vector<PepperPluginInfo>* plugins) {
+}
+
+bool ShellContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) {
+ return false;
+}
+
+bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
+ return false;
+}
+
+std::string ShellContentClient::GetUserAgent(bool mimic_windows) const {
+ return std::string();
+}
+
+string16 ShellContentClient::GetLocalizedString(int message_id) const {
+ return string16();
+}
+
+base::StringPiece ShellContentClient::GetDataResource(int resource_id) const {
+ return base::StringPiece();
+}
+
+#if defined(OS_WIN)
+bool ShellContentClient::SandboxPlugin(CommandLine* command_line,
+ sandbox::TargetPolicy* policy) {
+ return false;
+}
+#endif
+
+} // namespace content
Property changes on: content\shell\shell_content_client.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/shell/shell_content_plugin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698