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

Side by Side Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "web/tests/FrameTestHelpers.h" 31 #include "web/tests/FrameTestHelpers.h"
32 32
33 #include "platform/testing/URLTestHelpers.h" 33 #include "platform/testing/URLTestHelpers.h"
34 #include "platform/testing/UnitTestHelpers.h" 34 #include "platform/testing/UnitTestHelpers.h"
35 #include "platform/testing/WebLayerTreeViewImplForTesting.h" 35 #include "platform/testing/WebLayerTreeViewImplForTesting.h"
36 #include "platform/wtf/Functional.h"
37 #include "platform/wtf/PtrUtil.h"
38 #include "platform/wtf/StdLibExtras.h"
39 #include "platform/wtf/text/StringBuilder.h"
36 #include "public/platform/Platform.h" 40 #include "public/platform/Platform.h"
37 #include "public/platform/WebData.h" 41 #include "public/platform/WebData.h"
38 #include "public/platform/WebString.h" 42 #include "public/platform/WebString.h"
39 #include "public/platform/WebThread.h" 43 #include "public/platform/WebThread.h"
40 #include "public/platform/WebURLLoaderMockFactory.h" 44 #include "public/platform/WebURLLoaderMockFactory.h"
41 #include "public/platform/WebURLRequest.h" 45 #include "public/platform/WebURLRequest.h"
42 #include "public/platform/WebURLResponse.h" 46 #include "public/platform/WebURLResponse.h"
43 #include "public/web/WebFrameWidget.h" 47 #include "public/web/WebFrameWidget.h"
44 #include "public/web/WebSettings.h" 48 #include "public/web/WebSettings.h"
45 #include "public/web/WebTreeScopeType.h" 49 #include "public/web/WebTreeScopeType.h"
46 #include "public/web/WebViewClient.h" 50 #include "public/web/WebViewClient.h"
47 #include "web/WebLocalFrameImpl.h" 51 #include "web/WebLocalFrameImpl.h"
48 #include "web/WebRemoteFrameImpl.h" 52 #include "web/WebRemoteFrameImpl.h"
49 #include "wtf/Functional.h"
50 #include "wtf/PtrUtil.h"
51 #include "wtf/StdLibExtras.h"
52 #include "wtf/text/StringBuilder.h"
53 53
54 namespace blink { 54 namespace blink {
55 namespace FrameTestHelpers { 55 namespace FrameTestHelpers {
56 56
57 namespace { 57 namespace {
58 58
59 // The frame test helpers coordinate frame loads in a carefully choreographed 59 // The frame test helpers coordinate frame loads in a carefully choreographed
60 // dance. Since the parser is threaded, simply spinning the run loop once is not 60 // dance. Since the parser is threaded, simply spinning the run loop once is not
61 // enough to ensure completion of a load. Instead, the following pattern is 61 // enough to ensure completion of a load. Instead, the following pattern is
62 // used to ensure that tests see the final state: 62 // used to ensure that tests see the final state:
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 m_testWebViewClient->scheduleAnimation(); 350 m_testWebViewClient->scheduleAnimation();
351 } 351 }
352 352
353 void TestWebViewWidgetClient::didMeaningfulLayout( 353 void TestWebViewWidgetClient::didMeaningfulLayout(
354 WebMeaningfulLayout layoutType) { 354 WebMeaningfulLayout layoutType) {
355 m_testWebViewClient->didMeaningfulLayout(layoutType); 355 m_testWebViewClient->didMeaningfulLayout(layoutType);
356 } 356 }
357 357
358 } // namespace FrameTestHelpers 358 } // namespace FrameTestHelpers
359 } // namespace blink 359 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698