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

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

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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 18 matching lines...) Expand all
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 "public/platform/Platform.h" 38 #include "public/platform/Platform.h"
39 #include "public/platform/WebCache.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/WebCache.h"
45 #include "public/web/WebFrame.h" 45 #include "public/web/WebFrame.h"
46 #include "public/web/WebFrameClient.h" 46 #include "public/web/WebFrameClient.h"
47 #include "public/web/WebViewClient.h" 47 #include "public/web/WebViewClient.h"
48 #include "testing/gtest/include/gtest/gtest.h" 48 #include "testing/gtest/include/gtest/gtest.h"
49 #include "web/WebInputEventConversion.h" 49 #include "web/WebInputEventConversion.h"
50 #include "web/WebLocalFrameImpl.h" 50 #include "web/WebLocalFrameImpl.h"
51 #include "web/WebViewImpl.h" 51 #include "web/WebViewImpl.h"
52 #include "web/tests/FrameTestHelpers.h" 52 #include "web/tests/FrameTestHelpers.h"
53 #include "wtf/PtrUtil.h" 53 #include "wtf/PtrUtil.h"
54 54
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 goodTargets, highlightNodes); 254 goodTargets, highlightNodes);
255 255
256 webViewImpl->enableTapHighlights(highlightNodes); 256 webViewImpl->enableTapHighlights(highlightNodes);
257 EXPECT_EQ(2U, webViewImpl->numLinkHighlights()); 257 EXPECT_EQ(2U, webViewImpl->numLinkHighlights());
258 258
259 Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs(); 259 Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
260 WebCache::clear(); 260 WebCache::clear();
261 } 261 }
262 262
263 } // namespace blink 263 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698