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

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

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "core/rendering/HitTestResult.h" 56 #include "core/rendering/HitTestResult.h"
57 #include "core/rendering/RenderView.h" 57 #include "core/rendering/RenderView.h"
58 #include "core/rendering/TextAutosizer.h" 58 #include "core/rendering/TextAutosizer.h"
59 #include "core/rendering/compositing/RenderLayerCompositor.h" 59 #include "core/rendering/compositing/RenderLayerCompositor.h"
60 #include "platform/UserGestureIndicator.h" 60 #include "platform/UserGestureIndicator.h"
61 #include "platform/geometry/FloatRect.h" 61 #include "platform/geometry/FloatRect.h"
62 #include "platform/network/ResourceError.h" 62 #include "platform/network/ResourceError.h"
63 #include "platform/scroll/ScrollbarTheme.h" 63 #include "platform/scroll/ScrollbarTheme.h"
64 #include "public/platform/Platform.h" 64 #include "public/platform/Platform.h"
65 #include "public/platform/WebFloatRect.h" 65 #include "public/platform/WebFloatRect.h"
66 #include "public/platform/WebManifestRequest.h"
dcheng 2014/05/20 22:40:51 Why is this needed?
mlamouri (slow - plz ping) 2014/05/21 09:51:12 I started writing some ManifestLoader tests there.
66 #include "public/platform/WebThread.h" 67 #include "public/platform/WebThread.h"
67 #include "public/platform/WebURL.h" 68 #include "public/platform/WebURL.h"
68 #include "public/platform/WebURLResponse.h" 69 #include "public/platform/WebURLResponse.h"
69 #include "public/platform/WebUnitTestSupport.h" 70 #include "public/platform/WebUnitTestSupport.h"
70 #include "public/web/WebDataSource.h" 71 #include "public/web/WebDataSource.h"
71 #include "public/web/WebDocument.h" 72 #include "public/web/WebDocument.h"
72 #include "public/web/WebFindOptions.h" 73 #include "public/web/WebFindOptions.h"
73 #include "public/web/WebFormElement.h" 74 #include "public/web/WebFormElement.h"
74 #include "public/web/WebFrameClient.h" 75 #include "public/web/WebFrameClient.h"
75 #include "public/web/WebHistoryItem.h" 76 #include "public/web/WebHistoryItem.h"
(...skipping 5344 matching lines...) Expand 10 before | Expand all | Expand 10 after
5420 registerMockedHttpURLLoad("link-manifest-change.html"); 5421 registerMockedHttpURLLoad("link-manifest-change.html");
5421 5422
5422 ManifestChangeWebFrameClient webFrameClient; 5423 ManifestChangeWebFrameClient webFrameClient;
5423 FrameTestHelpers::WebViewHelper webViewHelper; 5424 FrameTestHelpers::WebViewHelper webViewHelper;
5424 webViewHelper.initializeAndLoad(m_baseURL + "link-manifest-change.html", tru e, &webFrameClient); 5425 webViewHelper.initializeAndLoad(m_baseURL + "link-manifest-change.html", tru e, &webFrameClient);
5425 5426
5426 EXPECT_EQ(14, webFrameClient.manifestChangeCount()); 5427 EXPECT_EQ(14, webFrameClient.manifestChangeCount());
5427 } 5428 }
5428 5429
5429 } // namespace 5430 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698