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

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

Issue 2046793002: Move didMeaningfulLayout calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: print Created 4 years, 5 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 8a435f325e9fc5ae8c5283d25e241b08cfdc07bb..2b71300e146293a0877c6b46d33f54dcf8d9710c 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.h
@@ -135,6 +135,7 @@ public:
void initializeLayerTreeView() override;
WebLayerTreeView* layerTreeView() override;
void scheduleAnimation() override;
+ void didMeaningfulLayout(WebMeaningfulLayout) override;
private:
TestWebViewClient* m_testWebViewClient;
@@ -161,6 +162,8 @@ public:
TestWebWidgetClient* widgetClient() { return &m_testWebWidgetClient; }
private:
+ friend class TestWebViewWidgetClient;
+
TestWebViewWidgetClient m_testWebWidgetClient;
std::unique_ptr<WebLayerTreeView> m_layerTreeView;
bool m_animationScheduled;

Powered by Google App Engine
This is Rietveld 408576698