| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "core/editing/FrameSelection.h" | 65 #include "core/editing/FrameSelection.h" |
| 66 #include "core/editing/SpellCheckRequester.h" | 66 #include "core/editing/SpellCheckRequester.h" |
| 67 #include "core/editing/VisiblePosition.h" | 67 #include "core/editing/VisiblePosition.h" |
| 68 #include "core/html/HTMLFormElement.h" | 68 #include "core/html/HTMLFormElement.h" |
| 69 #include "core/loader/FrameLoadRequest.h" | 69 #include "core/loader/FrameLoadRequest.h" |
| 70 #include "core/page/EventHandler.h" | 70 #include "core/page/EventHandler.h" |
| 71 #include "core/page/Frame.h" | 71 #include "core/page/Frame.h" |
| 72 #include "core/page/FrameView.h" | 72 #include "core/page/FrameView.h" |
| 73 #include "core/page/Settings.h" | 73 #include "core/page/Settings.h" |
| 74 #include "core/platform/ScrollbarTheme.h" | 74 #include "core/platform/ScrollbarTheme.h" |
| 75 #include "core/platform/graphics/FloatRect.h" | |
| 76 #include "core/platform/network/ResourceError.h" | 75 #include "core/platform/network/ResourceError.h" |
| 77 #include "core/rendering/HitTestResult.h" | 76 #include "core/rendering/HitTestResult.h" |
| 78 #include "core/rendering/RenderLayerCompositor.h" | 77 #include "core/rendering/RenderLayerCompositor.h" |
| 79 #include "core/rendering/RenderView.h" | 78 #include "core/rendering/RenderView.h" |
| 80 #include "core/rendering/TextAutosizer.h" | 79 #include "core/rendering/TextAutosizer.h" |
| 80 #include "platform/geometry/FloatRect.h" |
| 81 #include "v8.h" | 81 #include "v8.h" |
| 82 #include "public/platform/Platform.h" | 82 #include "public/platform/Platform.h" |
| 83 #include "public/platform/WebFloatRect.h" | 83 #include "public/platform/WebFloatRect.h" |
| 84 #include "public/platform/WebThread.h" | 84 #include "public/platform/WebThread.h" |
| 85 #include "public/platform/WebUnitTestSupport.h" | 85 #include "public/platform/WebUnitTestSupport.h" |
| 86 #include "public/platform/WebURLResponse.h" | 86 #include "public/platform/WebURLResponse.h" |
| 87 #include "wtf/dtoa/utils.h" | 87 #include "wtf/dtoa/utils.h" |
| 88 #include "wtf/Forward.h" | 88 #include "wtf/Forward.h" |
| 89 #include <map> | 89 #include <map> |
| 90 | 90 |
| (...skipping 4283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4374 TestStartStopCallbackWebViewClient client; | 4374 TestStartStopCallbackWebViewClient client; |
| 4375 FrameTestHelpers::WebViewHelper webViewHelper; | 4375 FrameTestHelpers::WebViewHelper webViewHelper; |
| 4376 webViewHelper.initializeAndLoad(m_baseURL + "push_state.html", true, 0, &cli
ent); | 4376 webViewHelper.initializeAndLoad(m_baseURL + "push_state.html", true, 0, &cli
ent); |
| 4377 runPendingTasks(); | 4377 runPendingTasks(); |
| 4378 | 4378 |
| 4379 EXPECT_EQ(client.startLoadingCount(), 2); | 4379 EXPECT_EQ(client.startLoadingCount(), 2); |
| 4380 EXPECT_EQ(client.stopLoadingCount(), 2); | 4380 EXPECT_EQ(client.stopLoadingCount(), 2); |
| 4381 } | 4381 } |
| 4382 | 4382 |
| 4383 } // namespace | 4383 } // namespace |
| OLD | NEW |