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

Unified Diff: content/public/browser/web_contents.h

Issue 537053002: Implement ManifestManager to handle manifest in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_fetcher
Patch Set: fix content_browsertests compile Created 6 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/content_tests.gypi ('k') | content/public/common/manifest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index b840bee4ee6325977a6fe8f12e137082de480c77..b62e9546d38673f5c142b9366848bd223e80a25d 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -57,6 +57,7 @@ class SiteInstance;
class WebContentsDelegate;
struct CustomContextMenuContext;
struct DropData;
+struct Manifest;
struct RendererPreferences;
// WebContents is the core class in content/. A WebContents renders web content
@@ -579,6 +580,11 @@ class WebContents : public PageNavigator,
// Returns true if audio has recently been audible from the WebContents.
virtual bool WasRecentlyAudible() = 0;
+ typedef base::Callback<void(const Manifest&)> GetManifestCallback;
+
+ // Requests the Manifest of the main frame's document.
+ virtual void GetManifest(const GetManifestCallback&) = 0;
+
#if defined(OS_ANDROID)
CONTENT_EXPORT static WebContents* FromJavaWebContents(
jobject jweb_contents_android);
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698