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

Unified Diff: public/web/WebFrameClient.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: review comments 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 | « public/platform/WebManifestError.h ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index ff19656543895482adacd59ac393e9a90383450a..c861634c1fe4d17b8171b5996491db65bb3f21cf 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -46,6 +46,7 @@
#include "public/platform/WebCommon.h"
#include "public/platform/WebFileSystem.h"
#include "public/platform/WebFileSystemType.h"
+#include "public/platform/WebManifestError.h"
#include "public/platform/WebStorageQuotaCallbacks.h"
#include "public/platform/WebStorageQuotaType.h"
#include "public/platform/WebURLError.h"
@@ -92,6 +93,7 @@ class WebWorkerPermissionClientProxy;
struct WebColorSuggestion;
struct WebConsoleMessage;
struct WebContextMenuData;
+struct WebManifest;
struct WebPluginParams;
struct WebPopupMenuInfo;
struct WebRect;
@@ -299,11 +301,20 @@ public:
// WARNING: This method may be called very frequently.
virtual void didUpdateCurrentHistoryItem(WebLocalFrame*) { }
+ // The frame's theme color has changed.
+ virtual void didChangeThemeColor() { }
+
+
+ // Web Manifest ---------------------------------------------------------
+
// The frame's manifest has changed.
virtual void didChangeManifest(WebLocalFrame*) { }
- // The frame's theme color has changed.
- virtual void didChangeThemeColor() { }
+ // The frame's manifest has been loaded successfully.
+ virtual void didLoadManifest(WebLocalFrame*, const WebManifest&) { }
+
+ // The frame's manifest loading has failed.
+ virtual void didFailLoadManifest(WebLocalFrame*, WebManifestError) { }
// Transition navigations -----------------------------------------------
« no previous file with comments | « public/platform/WebManifestError.h ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698