Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1465)

Unified Diff: Source/WebCore/loader/FrameLoaderTypes.h

Issue 339530043: SB prototype
Patch Set: Squashed patch Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/loader/FrameLoader.cpp ('k') | Source/WebCore/loader/PolicyChecker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/FrameLoaderTypes.h
diff --git a/Source/WebCore/loader/FrameLoaderTypes.h b/Source/WebCore/loader/FrameLoaderTypes.h
index 6de1b6faafe2e9ad354e6992cb74ec8ad3c29311..f9930036994615a645eee46041c6ca7b6aa3247c 100644
--- a/Source/WebCore/loader/FrameLoaderTypes.h
+++ b/Source/WebCore/loader/FrameLoaderTypes.h
@@ -42,6 +42,7 @@ enum class PolicyAction {
Use,
Download,
Ignore,
+ IgnoreAndLockBackForwardList,
Suspend,
};
@@ -160,6 +161,7 @@ template<> struct EnumTraits<WebCore::PolicyAction> {
WebCore::PolicyAction::Use,
WebCore::PolicyAction::Download,
WebCore::PolicyAction::Ignore,
+ WebCore::PolicyAction::IgnoreAndLockBackForwardList,
WebCore::PolicyAction::Suspend
>;
};
@@ -180,4 +182,12 @@ template<> struct EnumTraits<WebCore::FrameLoadType> {
>;
};
+template<> struct EnumTraits<WebCore::LockBackForwardList> {
+ using values = EnumValues<
+ WebCore::LockBackForwardList,
+ WebCore::LockBackForwardList::Yes,
+ WebCore::LockBackForwardList::No
+ >;
+};
+
} // namespace WTF
« no previous file with comments | « Source/WebCore/loader/FrameLoader.cpp ('k') | Source/WebCore/loader/PolicyChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b