| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "core/page/scrolling/ScrollingCoordinator.h" | 27 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 28 | 28 |
| 29 #include <gtest/gtest.h> | 29 #include <gtest/gtest.h> |
| 30 #include "FrameTestHelpers.h" | 30 #include "FrameTestHelpers.h" |
| 31 #include "URLTestHelpers.h" | 31 #include "URLTestHelpers.h" |
| 32 #include "WebFrameClient.h" | 32 #include "WebFrameClient.h" |
| 33 #include "WebFrameImpl.h" | 33 #include "WebFrameImpl.h" |
| 34 #include "WebSettings.h" | 34 #include "WebSettings.h" |
| 35 #include "WebViewClient.h" | 35 #include "WebViewClient.h" |
| 36 #include "WebViewImpl.h" | 36 #include "WebViewImpl.h" |
| 37 #include "core/platform/graphics/GraphicsLayer.h" | |
| 38 #include "core/rendering/CompositedLayerMapping.h" | 37 #include "core/rendering/CompositedLayerMapping.h" |
| 39 #include "core/rendering/RenderLayerCompositor.h" | 38 #include "core/rendering/RenderLayerCompositor.h" |
| 40 #include "core/rendering/RenderView.h" | 39 #include "core/rendering/RenderView.h" |
| 40 #include "platform/graphics/GraphicsLayer.h" |
| 41 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
| 42 #include "public/platform/WebLayer.h" | 42 #include "public/platform/WebLayer.h" |
| 43 #include "public/platform/WebLayerPositionConstraint.h" | 43 #include "public/platform/WebLayerPositionConstraint.h" |
| 44 #include "public/platform/WebLayerTreeView.h" | 44 #include "public/platform/WebLayerTreeView.h" |
| 45 #include "public/platform/WebUnitTestSupport.h" | 45 #include "public/platform/WebUnitTestSupport.h" |
| 46 | 46 |
| 47 using namespace WebCore; | 47 using namespace WebCore; |
| 48 using namespace blink; | 48 using namespace blink; |
| 49 | 49 |
| 50 namespace { | 50 namespace { |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) | 469 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) |
| 470 { | 470 { |
| 471 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); | 471 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); |
| 472 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); | 472 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); |
| 473 forceFullCompositingUpdate(); | 473 forceFullCompositingUpdate(); |
| 474 // This test document setup an iframe with scrollbars, then switch to | 474 // This test document setup an iframe with scrollbars, then switch to |
| 475 // an empty document by javascript. | 475 // an empty document by javascript. |
| 476 } | 476 } |
| 477 | 477 |
| 478 } // namespace | 478 } // namespace |
| OLD | NEW |