Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: third_party/WebKit/Source/web/LinkHighlightImplTest.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 17 matching lines...) Expand all
28 #include <memory> 28 #include <memory>
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "core/dom/Node.h" 30 #include "core/dom/Node.h"
31 #include "core/frame/FrameView.h" 31 #include "core/frame/FrameView.h"
32 #include "core/input/EventHandler.h" 32 #include "core/input/EventHandler.h"
33 #include "core/page/Page.h" 33 #include "core/page/Page.h"
34 #include "core/page/TouchDisambiguation.h" 34 #include "core/page/TouchDisambiguation.h"
35 #include "platform/geometry/IntRect.h" 35 #include "platform/geometry/IntRect.h"
36 #include "platform/testing/URLTestHelpers.h" 36 #include "platform/testing/URLTestHelpers.h"
37 #include "platform/testing/UnitTestHelpers.h" 37 #include "platform/testing/UnitTestHelpers.h"
38 #include "platform/wtf/PtrUtil.h"
38 #include "public/platform/Platform.h" 39 #include "public/platform/Platform.h"
39 #include "public/platform/WebContentLayer.h" 40 #include "public/platform/WebContentLayer.h"
40 #include "public/platform/WebFloatPoint.h" 41 #include "public/platform/WebFloatPoint.h"
41 #include "public/platform/WebInputEvent.h" 42 #include "public/platform/WebInputEvent.h"
42 #include "public/platform/WebSize.h" 43 #include "public/platform/WebSize.h"
43 #include "public/platform/WebURLLoaderMockFactory.h" 44 #include "public/platform/WebURLLoaderMockFactory.h"
44 #include "public/web/WebFrame.h" 45 #include "public/web/WebFrame.h"
45 #include "public/web/WebFrameClient.h" 46 #include "public/web/WebFrameClient.h"
46 #include "public/web/WebViewClient.h" 47 #include "public/web/WebViewClient.h"
47 #include "testing/gtest/include/gtest/gtest.h" 48 #include "testing/gtest/include/gtest/gtest.h"
48 #include "web/WebInputEventConversion.h" 49 #include "web/WebInputEventConversion.h"
49 #include "web/WebLocalFrameImpl.h" 50 #include "web/WebLocalFrameImpl.h"
50 #include "web/WebViewImpl.h" 51 #include "web/WebViewImpl.h"
51 #include "web/tests/FrameTestHelpers.h" 52 #include "web/tests/FrameTestHelpers.h"
52 #include "wtf/PtrUtil.h"
53 53
54 namespace blink { 54 namespace blink {
55 55
56 namespace { 56 namespace {
57 57
58 GestureEventWithHitTestResults getTargetedEvent(WebViewImpl* webViewImpl, 58 GestureEventWithHitTestResults getTargetedEvent(WebViewImpl* webViewImpl,
59 WebGestureEvent& touchEvent) { 59 WebGestureEvent& touchEvent) {
60 WebGestureEvent scaledEvent = TransformWebGestureEvent( 60 WebGestureEvent scaledEvent = TransformWebGestureEvent(
61 webViewImpl->mainFrameImpl()->frameView(), touchEvent); 61 webViewImpl->mainFrameImpl()->frameView(), touchEvent);
62 return webViewImpl->page() 62 return webViewImpl->page()
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 webViewImpl->enableTapHighlights(highlightNodes); 258 webViewImpl->enableTapHighlights(highlightNodes);
259 EXPECT_EQ(2U, webViewImpl->numLinkHighlights()); 259 EXPECT_EQ(2U, webViewImpl->numLinkHighlights());
260 260
261 Platform::current() 261 Platform::current()
262 ->getURLLoaderMockFactory() 262 ->getURLLoaderMockFactory()
263 ->unregisterAllURLsAndClearMemoryCache(); 263 ->unregisterAllURLsAndClearMemoryCache();
264 } 264 }
265 265
266 } // namespace blink 266 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LinkHighlightImpl.cpp ('k') | third_party/WebKit/Source/web/LocalFileSystemClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698