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

Unified Diff: public/web/WebFrameClient.h

Issue 214723003: Add an unimplemented history API to WebView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +WebHisotryCommitType descriptions Created 6 years, 9 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 | « Source/web/WebFrameImpl.cpp ('k') | public/web/WebHistoryCommitType.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 2ea883eba0c4cb763adcdf1c7030b8f3020f8cca..4b6e27e8a7a954c60f725aba49d667b1c13a88d7 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -34,6 +34,7 @@
#include "WebDOMMessageEvent.h"
#include "WebDataSource.h"
#include "WebFrame.h"
+#include "WebHistoryItem.h"
#include "WebIconURL.h"
#include "WebNavigationPolicy.h"
#include "WebNavigationType.h"
@@ -164,6 +165,10 @@ public:
WebLocalFrame*, WebDataSource::ExtraData*, const WebURLRequest&, WebNavigationType,
WebNavigationPolicy defaultPolicy, bool isRedirect) { return defaultPolicy; }
+ // During a history navigation, we may choose to load new subframes from history as well.
+ // This returns such a history item if appropriate.
+ virtual WebHistoryItem historyItemForNewChildFrame(WebFrame*) { return WebHistoryItem(); }
+
// Navigational notifications ------------------------------------------
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | public/web/WebHistoryCommitType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698