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

Unified Diff: public/web/WebView.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 | « public/web/WebHistoryCommitType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index e35e319e4778e2ef42e332590cbb50e9c5861840..f60ce368f5f05ee8a04a57f2fe948d3a0b600609 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -35,6 +35,8 @@
#include "../platform/WebString.h"
#include "../platform/WebVector.h"
#include "WebDragOperation.h"
+#include "WebHistoryCommitType.h"
+#include "WebHistoryItem.h"
#include "WebPageVisibilityState.h"
#include "WebWidget.h"
@@ -494,6 +496,14 @@ public:
virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0;
virtual void removePageOverlay(WebPageOverlay*) = 0;
+
+ // History (TEMPORARY) --------------------------------------------------
+ // These are shims to enable blink's HistoryController to move to content/.
+ virtual void updateForCommit(WebFrame*, const WebHistoryItem&, WebHistoryCommitType, bool navigationWithinPage) { }
+ virtual WebHistoryItem itemForNewChildFrame(WebFrame*) const { return WebHistoryItem(); }
+ virtual void removeChildrenForRedirect(WebFrame*) { }
+
+
// Testing functionality for TestRunner ---------------------------------
protected:
« no previous file with comments | « public/web/WebHistoryCommitType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698