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

Unified Diff: chrome/browser/guestview/guestview.h

Issue 78303005: ContentSettings API should not interact with <webview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary churn Created 7 years 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/guestview/guestview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/guestview/guestview.h
diff --git a/chrome/browser/guestview/guestview.h b/chrome/browser/guestview/guestview.h
index 863be554cfefc1d48b581b6a80134108a421c8fd..825383ba6979952d411d2ae6fdb49cb316904242 100644
--- a/chrome/browser/guestview/guestview.h
+++ b/chrome/browser/guestview/guestview.h
@@ -13,6 +13,7 @@
class AdViewGuest;
class WebViewGuest;
+struct RendererContentSettingRules;
// A GuestView is the base class browser-side API implementation for a <*view>
// tag. GuestView maintains an association between a guest WebContents and an
@@ -62,6 +63,10 @@ class GuestView : public content::BrowserPluginGuestDelegate {
std::string* partition_name,
bool* in_memory);
+ // By default, JavaScript and images are enabled in guest content.
+ static void GetDefaultContentSettingRules(
+ RendererContentSettingRules* rules, bool incognito);
+
virtual void Attach(content::WebContents* embedder_web_contents,
const base::DictionaryValue& args);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/guestview/guestview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698