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

Side by Side Diff: third_party/WebKit/Source/web/tests/ViewportTest.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 23 matching lines...) Expand all
34 #include "core/frame/Settings.h" 34 #include "core/frame/Settings.h"
35 #include "core/page/Page.h" 35 #include "core/page/Page.h"
36 #include "platform/Length.h" 36 #include "platform/Length.h"
37 #include "platform/geometry/IntPoint.h" 37 #include "platform/geometry/IntPoint.h"
38 #include "platform/geometry/IntRect.h" 38 #include "platform/geometry/IntRect.h"
39 #include "platform/geometry/IntSize.h" 39 #include "platform/geometry/IntSize.h"
40 #include "platform/scroll/ScrollbarTheme.h" 40 #include "platform/scroll/ScrollbarTheme.h"
41 #include "platform/testing/URLTestHelpers.h" 41 #include "platform/testing/URLTestHelpers.h"
42 #include "platform/testing/UnitTestHelpers.h" 42 #include "platform/testing/UnitTestHelpers.h"
43 #include "public/platform/Platform.h" 43 #include "public/platform/Platform.h"
44 #include "public/platform/WebCache.h"
44 #include "public/platform/WebURLLoaderMockFactory.h" 45 #include "public/platform/WebURLLoaderMockFactory.h"
45 #include "public/web/WebCache.h"
46 #include "public/web/WebConsoleMessage.h" 46 #include "public/web/WebConsoleMessage.h"
47 #include "public/web/WebFrame.h" 47 #include "public/web/WebFrame.h"
48 #include "public/web/WebScriptSource.h" 48 #include "public/web/WebScriptSource.h"
49 #include "public/web/WebSettings.h" 49 #include "public/web/WebSettings.h"
50 #include "public/web/WebViewClient.h" 50 #include "public/web/WebViewClient.h"
51 #include "testing/gtest/include/gtest/gtest.h" 51 #include "testing/gtest/include/gtest/gtest.h"
52 #include "web/tests/FrameTestHelpers.h" 52 #include "web/tests/FrameTestHelpers.h"
53 53
54 namespace blink { 54 namespace blink {
55 55
(...skipping 3150 matching lines...) Expand 10 before | Expand all | Expand 10 after
3206 m_baseURL + "viewport/viewport-warnings-7.html", true, &webFrameClient, 3206 m_baseURL + "viewport/viewport-warnings-7.html", true, &webFrameClient,
3207 nullptr, nullptr, setViewportSettings); 3207 nullptr, nullptr, setViewportSettings);
3208 3208
3209 Page* page = webViewHelper.webView()->page(); 3209 Page* page = webViewHelper.webView()->page();
3210 runViewportTest(page, 320, 352); 3210 runViewportTest(page, 320, 352);
3211 3211
3212 EXPECT_EQ(0U, webFrameClient.messages.size()); 3212 EXPECT_EQ(0U, webFrameClient.messages.size());
3213 } 3213 }
3214 3214
3215 } // namespace blink 3215 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/TouchActionTest.cpp ('k') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698