| 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/dom/Node.h" | 29 #include "core/dom/Node.h" |
| 30 #include "core/frame/FrameView.h" | 30 #include "core/frame/FrameView.h" |
| 31 #include "core/input/EventHandler.h" | 31 #include "core/input/EventHandler.h" |
| 32 #include "core/page/Page.h" | 32 #include "core/page/Page.h" |
| 33 #include "core/page/TouchDisambiguation.h" | 33 #include "core/page/TouchDisambiguation.h" |
| 34 #include "platform/geometry/IntRect.h" | 34 #include "platform/geometry/IntRect.h" |
| 35 #include "platform/testing/URLTestHelpers.h" | 35 #include "platform/testing/URLTestHelpers.h" |
| 36 #include "public/platform/Platform.h" | 36 #include "public/platform/Platform.h" |
| 37 #include "public/platform/WebContentLayer.h" | 37 #include "public/platform/WebContentLayer.h" |
| 38 #include "public/platform/WebFloatPoint.h" | 38 #include "public/platform/WebFloatPoint.h" |
| 39 #include "public/platform/WebInputEvent.h" |
| 39 #include "public/platform/WebSize.h" | 40 #include "public/platform/WebSize.h" |
| 40 #include "public/platform/WebURLLoaderMockFactory.h" | 41 #include "public/platform/WebURLLoaderMockFactory.h" |
| 41 #include "public/web/WebCache.h" | 42 #include "public/web/WebCache.h" |
| 42 #include "public/web/WebFrame.h" | 43 #include "public/web/WebFrame.h" |
| 43 #include "public/web/WebFrameClient.h" | 44 #include "public/web/WebFrameClient.h" |
| 44 #include "public/web/WebInputEvent.h" | |
| 45 #include "public/web/WebViewClient.h" | 45 #include "public/web/WebViewClient.h" |
| 46 #include "testing/gtest/include/gtest/gtest.h" | 46 #include "testing/gtest/include/gtest/gtest.h" |
| 47 #include "web/WebInputEventConversion.h" | 47 #include "web/WebInputEventConversion.h" |
| 48 #include "web/WebLocalFrameImpl.h" | 48 #include "web/WebLocalFrameImpl.h" |
| 49 #include "web/WebViewImpl.h" | 49 #include "web/WebViewImpl.h" |
| 50 #include "web/tests/FrameTestHelpers.h" | 50 #include "web/tests/FrameTestHelpers.h" |
| 51 #include "wtf/PtrUtil.h" | 51 #include "wtf/PtrUtil.h" |
| 52 #include <memory> | 52 #include <memory> |
| 53 | 53 |
| 54 namespace blink { | 54 namespace blink { |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 goodTargets, highlightNodes); | 260 goodTargets, highlightNodes); |
| 261 | 261 |
| 262 webViewImpl->enableTapHighlights(highlightNodes); | 262 webViewImpl->enableTapHighlights(highlightNodes); |
| 263 EXPECT_EQ(2U, webViewImpl->numLinkHighlights()); | 263 EXPECT_EQ(2U, webViewImpl->numLinkHighlights()); |
| 264 | 264 |
| 265 Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs(); | 265 Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs(); |
| 266 WebCache::clear(); | 266 WebCache::clear(); |
| 267 } | 267 } |
| 268 | 268 |
| 269 } // namespace blink | 269 } // namespace blink |
| OLD | NEW |