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

Unified Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.h

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: Rebasing... Created 3 years, 11 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/web/tests/FrameTestHelpers.h
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
index dced6da7064aea93affb1074d8748748ba4b3e4a..d3fb7f7a0655bdde6a9ac3d60381396b6bca24d6 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
@@ -253,6 +253,9 @@ class TestWebFrameClient : public WebFrameClient {
bool isLoading() { return m_loadsInProgress > 0; }
+ // Tests can override the virtual method below to mock the interface provider.
+ virtual blink::InterfaceProvider* interfaceProvider() { return nullptr; }
+
private:
int m_loadsInProgress = 0;
};

Powered by Google App Engine
This is Rietveld 408576698