| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "core/html/HTMLDocument.h" | 53 #include "core/html/HTMLDocument.h" |
| 54 #include "core/html/HTMLFormElement.h" | 54 #include "core/html/HTMLFormElement.h" |
| 55 #include "core/loader/DocumentThreadableLoader.h" | 55 #include "core/loader/DocumentThreadableLoader.h" |
| 56 #include "core/loader/DocumentThreadableLoaderClient.h" | 56 #include "core/loader/DocumentThreadableLoaderClient.h" |
| 57 #include "core/loader/FrameLoadRequest.h" | 57 #include "core/loader/FrameLoadRequest.h" |
| 58 #include "core/loader/ThreadableLoader.h" | 58 #include "core/loader/ThreadableLoader.h" |
| 59 #include "core/page/EventHandler.h" | 59 #include "core/page/EventHandler.h" |
| 60 #include "core/page/Page.h" | 60 #include "core/page/Page.h" |
| 61 #include "core/rendering/HitTestResult.h" | 61 #include "core/rendering/HitTestResult.h" |
| 62 #include "core/rendering/RenderView.h" | 62 #include "core/rendering/RenderView.h" |
| 63 #include "core/rendering/TextAutosizer.h" | |
| 64 #include "core/rendering/compositing/RenderLayerCompositor.h" | 63 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 65 #include "platform/DragImage.h" | 64 #include "platform/DragImage.h" |
| 66 #include "platform/RuntimeEnabledFeatures.h" | 65 #include "platform/RuntimeEnabledFeatures.h" |
| 67 #include "platform/UserGestureIndicator.h" | 66 #include "platform/UserGestureIndicator.h" |
| 68 #include "platform/geometry/FloatRect.h" | 67 #include "platform/geometry/FloatRect.h" |
| 69 #include "platform/network/ResourceError.h" | 68 #include "platform/network/ResourceError.h" |
| 70 #include "platform/scroll/ScrollbarTheme.h" | 69 #include "platform/scroll/ScrollbarTheme.h" |
| 71 #include "platform/weborigin/SchemeRegistry.h" | 70 #include "platform/weborigin/SchemeRegistry.h" |
| 72 #include "public/platform/Platform.h" | 71 #include "public/platform/Platform.h" |
| 73 #include "public/platform/WebFloatRect.h" | 72 #include "public/platform/WebFloatRect.h" |
| (...skipping 5848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5922 | 5921 |
| 5923 client.reset(); | 5922 client.reset(); |
| 5924 // Try to load the request with cross origin access. Should succeed. | 5923 // Try to load the request with cross origin access. Should succeed. |
| 5925 options.crossOriginRequestPolicy = blink::AllowCrossOriginRequests; | 5924 options.crossOriginRequestPolicy = blink::AllowCrossOriginRequests; |
| 5926 blink::DocumentThreadableLoader::loadResourceSynchronously( | 5925 blink::DocumentThreadableLoader::loadResourceSynchronously( |
| 5927 *frame->document(), blink::ResourceRequest(resourceUrl), client, options
, resourceLoaderOptions); | 5926 *frame->document(), blink::ResourceRequest(resourceUrl), client, options
, resourceLoaderOptions); |
| 5928 EXPECT_FALSE(client.failed()); | 5927 EXPECT_FALSE(client.failed()); |
| 5929 } | 5928 } |
| 5930 | 5929 |
| 5931 } // namespace | 5930 } // namespace |
| OLD | NEW |