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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1422333009: OOPIF: History navigations for new child frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve comment. Created 5 years 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 | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 95a76d5a330e8b44e94d4a9c98bde07912fdbd02..d51e82101d05f58d3e4e16dadffc76da142ca9e8 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -221,6 +221,7 @@ public:
WebNavigationType navigationType;
WebNavigationPolicy defaultPolicy;
bool replacesCurrentHistoryItem;
+ bool isHistoryNavigationInNewChildFrame;
NavigationPolicyInfo(WebURLRequest& urlRequest)
: extraData(nullptr)
@@ -228,6 +229,7 @@ public:
, navigationType(WebNavigationTypeOther)
, defaultPolicy(WebNavigationPolicyIgnore)
, replacesCurrentHistoryItem(false)
+ , isHistoryNavigationInNewChildFrame(false)
{
}
};
@@ -239,7 +241,7 @@ public:
// 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(); }
+ virtual WebHistoryItem historyItemForNewChildFrame() { return WebHistoryItem(); }
// Whether the client is handling a navigation request.
virtual bool hasPendingNavigation(WebLocalFrame*) { return false; }
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698