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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp

Issue 2719813002: Rename classes that derived from EmptyLocalFrameClient. (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
index 3ac6e59a1e366211664add55b3248f0d20209767..edd0450da70fe73aac31a07cf6744bc40b72dda7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
@@ -16,14 +16,14 @@
namespace blink {
-LocalFrame* SingleChildFrameLoaderClient::createFrame(
+LocalFrame* SingleChildLocalFrameClient::createFrame(
const FrameLoadRequest&,
const AtomicString& name,
HTMLFrameOwnerElement* ownerElement) {
DCHECK(!m_child) << "This test helper only supports one child frame.";
LocalFrame* parentFrame = ownerElement->document().frame();
- auto* childClient = FrameLoaderClientWithParent::create(parentFrame);
+ auto* childClient = LocalFrameClientWithParent::create(parentFrame);
m_child = LocalFrame::create(childClient, parentFrame->host(), ownerElement);
m_child->createView(IntSize(500, 500), Color(), true /* transparent */);
m_child->init();
@@ -31,8 +31,8 @@ LocalFrame* SingleChildFrameLoaderClient::createFrame(
return m_child.get();
}
-void FrameLoaderClientWithParent::detached(FrameDetachType) {
- static_cast<SingleChildFrameLoaderClient*>(parent()->client())
+void LocalFrameClientWithParent::detached(FrameDetachType) {
+ static_cast<SingleChildLocalFrameClient*>(parent()->client())
->didDetachChild();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTestHelper.h ('k') | third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698