Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 80766dcb6ee4aa9765fb8eff1266f966c3a7d5bd..de1ac560239f454871c264b28b6af5a1c37928ad 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 |
@@ -576,6 +577,11 @@ class WebContents : public PageNavigator, |
// Requests the renderer to insert CSS into the main frame's document. |
virtual void InsertCSS(const std::string& css) = 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); |