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 10 matching lines...) Expand all Loading... |
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 */ | 23 */ |
24 | 24 |
25 #include "config.h" | 25 #include "config.h" |
26 | 26 |
27 #include "LinkHighlight.h" | 27 #include "LinkHighlight.h" |
28 | 28 |
29 #include <gtest/gtest.h> | 29 #include <gtest/gtest.h> |
30 #include "FrameTestHelpers.h" | 30 #include "FrameTestHelpers.h" |
31 #include "Node.h" | |
32 #include "URLTestHelpers.h" | 31 #include "URLTestHelpers.h" |
33 #include "WebCompositorInitializer.h" | 32 #include "WebCompositorInitializer.h" |
34 #include "WebFrame.h" | 33 #include "WebFrame.h" |
35 #include "WebFrameImpl.h" | 34 #include "WebFrameImpl.h" |
36 #include "WebInputEvent.h" | 35 #include "WebInputEvent.h" |
37 #include "WebInputEventConversion.h" | 36 #include "WebInputEventConversion.h" |
38 #include "WebViewImpl.h" | 37 #include "WebViewImpl.h" |
| 38 #include "core/dom/Node.h" |
39 #include "core/page/FrameView.h" | 39 #include "core/page/FrameView.h" |
40 #include "core/platform/graphics/IntRect.h" | 40 #include "core/platform/graphics/IntRect.h" |
41 #include <public/WebContentLayer.h> | 41 #include <public/WebContentLayer.h> |
42 #include <public/WebFloatPoint.h> | 42 #include <public/WebFloatPoint.h> |
43 #include <public/WebSize.h> | 43 #include <public/WebSize.h> |
44 #include <wtf/PassOwnPtr.h> | 44 #include <wtf/PassOwnPtr.h> |
45 | 45 |
46 using namespace WebKit; | 46 using namespace WebKit; |
47 using namespace WebCore; | 47 using namespace WebCore; |
48 | 48 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 { | 115 { |
116 PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->
frameView(), touchEvent); | 116 PlatformGestureEventBuilder platformEvent(webViewImpl->mainFrameImpl()->
frameView(), touchEvent); |
117 webViewImpl->enableTapHighlight(platformEvent); | 117 webViewImpl->enableTapHighlight(platformEvent); |
118 } | 118 } |
119 ASSERT_FALSE(webViewImpl->linkHighlight()); | 119 ASSERT_FALSE(webViewImpl->linkHighlight()); |
120 | 120 |
121 webViewImpl->close(); | 121 webViewImpl->close(); |
122 } | 122 } |
123 | 123 |
124 } // namespace | 124 } // namespace |
OLD | NEW |