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

Side by Side Diff: Source/web/tests/LinkHighlightTest.cpp

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
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 22 matching lines...) Expand all
33 #include "WebFrameClient.h" 33 #include "WebFrameClient.h"
34 #include "WebFrameImpl.h" 34 #include "WebFrameImpl.h"
35 #include "WebInputEvent.h" 35 #include "WebInputEvent.h"
36 #include "WebInputEventConversion.h" 36 #include "WebInputEventConversion.h"
37 #include "WebViewClient.h" 37 #include "WebViewClient.h"
38 #include "WebViewImpl.h" 38 #include "WebViewImpl.h"
39 #include "bindings/v8/ExceptionStatePlaceholder.h" 39 #include "bindings/v8/ExceptionStatePlaceholder.h"
40 #include "core/dom/Node.h" 40 #include "core/dom/Node.h"
41 #include "core/page/FrameView.h" 41 #include "core/page/FrameView.h"
42 #include "core/page/TouchDisambiguation.h" 42 #include "core/page/TouchDisambiguation.h"
43 #include "core/platform/graphics/IntRect.h" 43 #include "platform/geometry/IntRect.h"
44 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
45 #include "public/platform/WebContentLayer.h" 45 #include "public/platform/WebContentLayer.h"
46 #include "public/platform/WebFloatPoint.h" 46 #include "public/platform/WebFloatPoint.h"
47 #include "public/platform/WebSize.h" 47 #include "public/platform/WebSize.h"
48 #include "public/platform/WebUnitTestSupport.h" 48 #include "public/platform/WebUnitTestSupport.h"
49 #include "wtf/PassOwnPtr.h" 49 #include "wtf/PassOwnPtr.h"
50 50
51 51
52 using namespace WebKit; 52 using namespace WebKit;
53 using namespace WebCore; 53 using namespace WebCore;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent .y - touchEvent.data.tap.height / 2, touchEvent.data.tap.width, touchEvent.data. tap.height); 221 IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent .y - touchEvent.data.tap.height / 2, touchEvent.data.tap.width, touchEvent.data. tap.height);
222 findGoodTouchTargets(boundingBox, webViewImpl->mainFrameImpl()->frame(), goo dTargets, highlightNodes); 222 findGoodTouchTargets(boundingBox, webViewImpl->mainFrameImpl()->frame(), goo dTargets, highlightNodes);
223 223
224 webViewImpl->enableTapHighlights(highlightNodes); 224 webViewImpl->enableTapHighlights(highlightNodes);
225 EXPECT_EQ(2U, webViewImpl->numLinkHighlights()); 225 EXPECT_EQ(2U, webViewImpl->numLinkHighlights());
226 226
227 Platform::current()->unitTestSupport()->unregisterAllMockedURLs(); 227 Platform::current()->unitTestSupport()->unregisterAllMockedURLs();
228 } 228 }
229 229
230 } // namespace 230 } // namespace
OLDNEW
« no previous file with comments | « Source/web/tests/DragImageTest.cpp ('k') | Source/web/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698