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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 444113003: Remove dependency of chrome in GuestViewBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
Index: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 39b645c9048b5105f20d11963532b94cb7dbc290..869015fe84de7dd2202bdc5a92567a3068f22d44 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -18,6 +18,7 @@
#include "content/public/browser/content_browser_client.h"
class ChromeContentBrowserClientParts;
+struct RendererContentSettingRules;
namespace base {
class CommandLine;
@@ -328,6 +329,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
const GURL& url,
bool allowed_by_default,
const base::Callback<void(bool)>& callback);
+
+ // By default, JavaScript and images are enabled in guest content.
+ static void GetGuestViewDefaultContentSettingRules(
Fady Samuel 2014/08/07 20:10:48 This probably doesn't need to be here at all. You
Xi Han 2014/08/07 20:36:07 Done.
+ bool incognito,
+ RendererContentSettingRules* rules);
#endif
#if defined(ENABLE_PLUGINS)
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/guest_view/guest_view_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698