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 27 matching lines...) Expand all Loading... |
38 #include "public/platform/WebLayerTreeView.h" | 38 #include "public/platform/WebLayerTreeView.h" |
39 #include "public/platform/WebUnitTestSupport.h" | 39 #include "public/platform/WebUnitTestSupport.h" |
40 #include "public/web/WebSettings.h" | 40 #include "public/web/WebSettings.h" |
41 #include "public/web/WebViewClient.h" | 41 #include "public/web/WebViewClient.h" |
42 #include "web/WebLocalFrameImpl.h" | 42 #include "web/WebLocalFrameImpl.h" |
43 #include "web/WebViewImpl.h" | 43 #include "web/WebViewImpl.h" |
44 #include "web/tests/FrameTestHelpers.h" | 44 #include "web/tests/FrameTestHelpers.h" |
45 #include "web/tests/URLTestHelpers.h" | 45 #include "web/tests/URLTestHelpers.h" |
46 #include <gtest/gtest.h> | 46 #include <gtest/gtest.h> |
47 | 47 |
48 using namespace WebCore; | 48 using namespace blink; |
49 using namespace blink; | 49 using namespace blink; |
50 | 50 |
51 namespace { | 51 namespace { |
52 | 52 |
53 class ScrollingCoordinatorChromiumTest : public testing::Test { | 53 class ScrollingCoordinatorChromiumTest : public testing::Test { |
54 public: | 54 public: |
55 ScrollingCoordinatorChromiumTest() | 55 ScrollingCoordinatorChromiumTest() |
56 : m_baseURL("http://www.test.com/") | 56 : m_baseURL("http://www.test.com/") |
57 { | 57 { |
58 m_helper.initialize(true, 0, &m_mockWebViewClient, &configureSettings); | 58 m_helper.initialize(true, 0, &m_mockWebViewClient, &configureSettings); |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) | 453 TEST_F(ScrollingCoordinatorChromiumTest, setupScrollbarLayerShouldNotCrash) |
454 { | 454 { |
455 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); | 455 registerMockedHttpURLLoad("setup_scrollbar_layer_crash.html"); |
456 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); | 456 navigateTo(m_baseURL + "setup_scrollbar_layer_crash.html"); |
457 forceFullCompositingUpdate(); | 457 forceFullCompositingUpdate(); |
458 // This test document setup an iframe with scrollbars, then switch to | 458 // This test document setup an iframe with scrollbars, then switch to |
459 // an empty document by javascript. | 459 // an empty document by javascript. |
460 } | 460 } |
461 | 461 |
462 } // namespace | 462 } // namespace |
OLD | NEW |