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 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
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 "DocumentMarkerController.h" | |
37 #include "FrameTestHelpers.h" | 36 #include "FrameTestHelpers.h" |
38 #include "PlatformContextSkia.h" | 37 #include "PlatformContextSkia.h" |
39 #include "Range.h" | |
40 #include "SkBitmap.h" | 38 #include "SkBitmap.h" |
41 #include "SkCanvas.h" | 39 #include "SkCanvas.h" |
42 #include "URLTestHelpers.h" | 40 #include "URLTestHelpers.h" |
43 #include "WebDataSource.h" | 41 #include "WebDataSource.h" |
44 #include "WebDocument.h" | 42 #include "WebDocument.h" |
45 #include "WebFindOptions.h" | 43 #include "WebFindOptions.h" |
46 #include "WebFormElement.h" | 44 #include "WebFormElement.h" |
47 #include "WebFrameClient.h" | 45 #include "WebFrameClient.h" |
48 #include "WebFrameImpl.h" | 46 #include "WebFrameImpl.h" |
49 #include "WebHistoryItem.h" | 47 #include "WebHistoryItem.h" |
50 #include "WebRange.h" | 48 #include "WebRange.h" |
51 #include "WebScriptSource.h" | 49 #include "WebScriptSource.h" |
52 #include "WebSearchableFormData.h" | 50 #include "WebSearchableFormData.h" |
53 #include "WebSecurityOrigin.h" | 51 #include "WebSecurityOrigin.h" |
54 #include "WebSecurityPolicy.h" | 52 #include "WebSecurityPolicy.h" |
55 #include "WebSettings.h" | 53 #include "WebSettings.h" |
56 #include "WebSpellCheckClient.h" | 54 #include "WebSpellCheckClient.h" |
57 #include "WebTextCheckingCompletion.h" | 55 #include "WebTextCheckingCompletion.h" |
58 #include "WebTextCheckingResult.h" | 56 #include "WebTextCheckingResult.h" |
59 #include "WebViewClient.h" | 57 #include "WebViewClient.h" |
60 #include "WebViewImpl.h" | 58 #include "WebViewImpl.h" |
| 59 #include "core/dom/DocumentMarkerController.h" |
| 60 #include "core/dom/Range.h" |
61 #include "core/editing/FrameSelection.h" | 61 #include "core/editing/FrameSelection.h" |
62 #include "core/page/EventHandler.h" | 62 #include "core/page/EventHandler.h" |
63 #include "core/page/Frame.h" | 63 #include "core/page/Frame.h" |
64 #include "core/page/FrameView.h" | 64 #include "core/page/FrameView.h" |
65 #include "core/page/Settings.h" | 65 #include "core/page/Settings.h" |
66 #include "core/platform/ScrollbarTheme.h" | 66 #include "core/platform/ScrollbarTheme.h" |
67 #include "core/platform/graphics/FloatRect.h" | 67 #include "core/platform/graphics/FloatRect.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" |
(...skipping 2826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2897 EXPECT_FALSE(client.wasProgrammaticScroll()); | 2897 EXPECT_FALSE(client.wasProgrammaticScroll()); |
2898 EXPECT_TRUE(client.wasUserScroll()); | 2898 EXPECT_TRUE(client.wasUserScroll()); |
2899 client.reset(); | 2899 client.reset(); |
2900 | 2900 |
2901 m_webView->close(); | 2901 m_webView->close(); |
2902 m_webView = 0; | 2902 m_webView = 0; |
2903 } | 2903 } |
2904 | 2904 |
2905 | 2905 |
2906 } // namespace | 2906 } // namespace |
OLD | NEW |