| 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 | 32 |
| 33 #include "WebFrame.h" | 33 #include "WebFrame.h" |
| 34 | 34 |
| 35 #include <gtest/gtest.h> | 35 #include <gtest/gtest.h> |
| 36 #include "FrameTestHelpers.h" | 36 #include "FrameTestHelpers.h" |
| 37 #include "PlatformContextSkia.h" | |
| 38 #include "SkBitmap.h" | 37 #include "SkBitmap.h" |
| 39 #include "SkCanvas.h" | 38 #include "SkCanvas.h" |
| 40 #include "URLTestHelpers.h" | 39 #include "URLTestHelpers.h" |
| 41 #include "WebDataSource.h" | 40 #include "WebDataSource.h" |
| 42 #include "WebDocument.h" | 41 #include "WebDocument.h" |
| 43 #include "WebFindOptions.h" | 42 #include "WebFindOptions.h" |
| 44 #include "WebFormElement.h" | 43 #include "WebFormElement.h" |
| 45 #include "WebFrameClient.h" | 44 #include "WebFrameClient.h" |
| 46 #include "WebFrameImpl.h" | 45 #include "WebFrameImpl.h" |
| 47 #include "WebHistoryItem.h" | 46 #include "WebHistoryItem.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 58 #include "WebViewImpl.h" | 57 #include "WebViewImpl.h" |
| 59 #include "core/dom/DocumentMarkerController.h" | 58 #include "core/dom/DocumentMarkerController.h" |
| 60 #include "core/dom/Range.h" | 59 #include "core/dom/Range.h" |
| 61 #include "core/editing/FrameSelection.h" | 60 #include "core/editing/FrameSelection.h" |
| 62 #include "core/page/EventHandler.h" | 61 #include "core/page/EventHandler.h" |
| 63 #include "core/page/Frame.h" | 62 #include "core/page/Frame.h" |
| 64 #include "core/page/FrameView.h" | 63 #include "core/page/FrameView.h" |
| 65 #include "core/page/Settings.h" | 64 #include "core/page/Settings.h" |
| 66 #include "core/platform/ScrollbarTheme.h" | 65 #include "core/platform/ScrollbarTheme.h" |
| 67 #include "core/platform/graphics/FloatRect.h" | 66 #include "core/platform/graphics/FloatRect.h" |
| 67 #include "core/platform/graphics/skia/PlatformContextSkia.h" |
| 68 #include "core/platform/network/ResourceError.h" | 68 #include "core/platform/network/ResourceError.h" |
| 69 #include "core/rendering/HitTestResult.h" | 69 #include "core/rendering/HitTestResult.h" |
| 70 #include "core/rendering/RenderView.h" | 70 #include "core/rendering/RenderView.h" |
| 71 #include "v8.h" | 71 #include "v8.h" |
| 72 #include <public/Platform.h> | 72 #include <public/Platform.h> |
| 73 #include <public/WebFloatRect.h> | 73 #include <public/WebFloatRect.h> |
| 74 #include <public/WebThread.h> | 74 #include <public/WebThread.h> |
| 75 #include <public/WebUnitTestSupport.h> | 75 #include <public/WebUnitTestSupport.h> |
| 76 #include <public/WebURLResponse.h> | 76 #include <public/WebURLResponse.h> |
| 77 #include <wtf/dtoa/utils.h> | 77 #include <wtf/dtoa/utils.h> |
| (...skipping 2749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2827 EXPECT_FALSE(client.wasProgrammaticScroll()); | 2827 EXPECT_FALSE(client.wasProgrammaticScroll()); |
| 2828 EXPECT_TRUE(client.wasUserScroll()); | 2828 EXPECT_TRUE(client.wasUserScroll()); |
| 2829 client.reset(); | 2829 client.reset(); |
| 2830 | 2830 |
| 2831 m_webView->close(); | 2831 m_webView->close(); |
| 2832 m_webView = 0; | 2832 m_webView = 0; |
| 2833 } | 2833 } |
| 2834 | 2834 |
| 2835 | 2835 |
| 2836 } // namespace | 2836 } // namespace |
| OLD | NEW |