| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "WebFormElement.h" | 38 #include "WebFormElement.h" |
| 39 #include "WebFrame.h" | 39 #include "WebFrame.h" |
| 40 #include "WebFrameOwnerProperties.h" | 40 #include "WebFrameOwnerProperties.h" |
| 41 #include "WebHistoryCommitType.h" | 41 #include "WebHistoryCommitType.h" |
| 42 #include "WebHistoryItem.h" | 42 #include "WebHistoryItem.h" |
| 43 #include "WebIconURL.h" | 43 #include "WebIconURL.h" |
| 44 #include "WebNavigationPolicy.h" | 44 #include "WebNavigationPolicy.h" |
| 45 #include "WebNavigationType.h" | 45 #include "WebNavigationType.h" |
| 46 #include "WebNavigatorContentUtilsClient.h" | 46 #include "WebNavigatorContentUtilsClient.h" |
| 47 #include "WebSandboxFlags.h" | 47 #include "WebSandboxFlags.h" |
| 48 #include "WebSourceLocation.h" |
| 48 #include "WebTextDirection.h" | 49 #include "WebTextDirection.h" |
| 49 #include "public/platform/BlameContext.h" | 50 #include "public/platform/BlameContext.h" |
| 50 #include "public/platform/WebColor.h" | 51 #include "public/platform/WebColor.h" |
| 51 #include "public/platform/WebCommon.h" | 52 #include "public/platform/WebCommon.h" |
| 52 #include "public/platform/WebContentSecurityPolicyStruct.h" | 53 #include "public/platform/WebContentSecurityPolicyStruct.h" |
| 53 #include "public/platform/WebEffectiveConnectionType.h" | 54 #include "public/platform/WebEffectiveConnectionType.h" |
| 54 #include "public/platform/WebFeaturePolicy.h" | 55 #include "public/platform/WebFeaturePolicy.h" |
| 55 #include "public/platform/WebFileSystem.h" | 56 #include "public/platform/WebFileSystem.h" |
| 56 #include "public/platform/WebFileSystemType.h" | 57 #include "public/platform/WebFileSystemType.h" |
| 57 #include "public/platform/WebInsecureRequestPolicy.h" | 58 #include "public/platform/WebInsecureRequestPolicy.h" |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // should stop in blink. In all other cases, the urlRequest should not | 294 // should stop in blink. In all other cases, the urlRequest should not |
| 294 // be modified. | 295 // be modified. |
| 295 WebURLRequest& urlRequest; | 296 WebURLRequest& urlRequest; |
| 296 WebNavigationType navigationType; | 297 WebNavigationType navigationType; |
| 297 WebNavigationPolicy defaultPolicy; | 298 WebNavigationPolicy defaultPolicy; |
| 298 bool replacesCurrentHistoryItem; | 299 bool replacesCurrentHistoryItem; |
| 299 bool isHistoryNavigationInNewChildFrame; | 300 bool isHistoryNavigationInNewChildFrame; |
| 300 bool isClientRedirect; | 301 bool isClientRedirect; |
| 301 WebFormElement form; | 302 WebFormElement form; |
| 302 bool isCacheDisabled; | 303 bool isCacheDisabled; |
| 304 WebSourceLocation sourceLocation; |
| 303 | 305 |
| 304 NavigationPolicyInfo(WebURLRequest& urlRequest) | 306 NavigationPolicyInfo(WebURLRequest& urlRequest) |
| 305 : extraData(nullptr), | 307 : extraData(nullptr), |
| 306 urlRequest(urlRequest), | 308 urlRequest(urlRequest), |
| 307 navigationType(WebNavigationTypeOther), | 309 navigationType(WebNavigationTypeOther), |
| 308 defaultPolicy(WebNavigationPolicyIgnore), | 310 defaultPolicy(WebNavigationPolicyIgnore), |
| 309 replacesCurrentHistoryItem(false), | 311 replacesCurrentHistoryItem(false), |
| 310 isHistoryNavigationInNewChildFrame(false), | 312 isHistoryNavigationInNewChildFrame(false), |
| 311 isClientRedirect(false), | 313 isClientRedirect(false), |
| 312 isCacheDisabled(false) {} | 314 isCacheDisabled(false) {} |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 // Overwrites the given URL to use an HTML5 embed if possible. | 756 // Overwrites the given URL to use an HTML5 embed if possible. |
| 755 // An empty URL is returned if the URL is not overriden. | 757 // An empty URL is returned if the URL is not overriden. |
| 756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 758 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 757 return WebURL(); | 759 return WebURL(); |
| 758 } | 760 } |
| 759 }; | 761 }; |
| 760 | 762 |
| 761 } // namespace blink | 763 } // namespace blink |
| 762 | 764 |
| 763 #endif | 765 #endif |
| OLD | NEW |