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

Unified Diff: public/web/WebFrame.h

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index d630f801834c1614177372f90fccbcb1fbaf5bcd..9004405faace69a756a6147cbca7a197f8fe0990 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -70,6 +70,7 @@ class WebFrameClient;
class WebInputElement;
class WebLayer;
class WebLocalFrame;
+class WebManifestRequest;
class WebPerformance;
class WebPermissionClient;
class WebRange;
@@ -675,6 +676,12 @@ public:
// text form. This is used only by layout tests.
virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0;
+ // Manifest ------------------------------------------------------------
+
+ // Starts fetching and parsing the manifest. The passed WebManifestRequest
+ // will get notified when the request ends, whether it failed or succeeded.
+ virtual void requestManifest(WebManifestRequest&) const = 0;
+
protected:
explicit WebFrame();
virtual ~WebFrame();
« public/platform/WebManifestRequest.h ('K') | « public/platform/WebManifestRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698