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

Unified Diff: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp

Issue 2917343004: Move LoadHTMLString method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Created 3 years, 6 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/VisualViewportTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
index ccbba398cf8ee5ad864a6cddab2f71fac12505ae..2da2b56169636daa302283de376752cb09b3665f 100644
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
@@ -2133,7 +2133,7 @@ TEST_P(VisualViewportTest, ResizeCompositedAndFixedBackground) {
RegisterMockedHttpURLLoad("http://example.com/foo.png", "white-1x1.png");
WebURL base_url = URLTestHelpers::ToKURL("http://example.com/");
- FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrame(),
+ FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrameImpl(),
"<!DOCTYPE html>"
"<style>"
" body {"
@@ -2215,7 +2215,7 @@ TEST_P(VisualViewportTest, ResizeNonCompositedAndFixedBackground) {
RegisterMockedHttpURLLoad("http://example.com/foo.png", "white-1x1.png");
WebURL base_url = URLTestHelpers::ToKURL("http://example.com/");
- FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrame(),
+ FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrameImpl(),
"<!DOCTYPE html>"
"<style>"
" body {"
@@ -2324,7 +2324,7 @@ TEST_P(VisualViewportTest, ResizeNonFixedBackgroundNoLayoutOrInvalidation) {
RegisterMockedHttpURLLoad("http://example.com/foo.png", "white-1x1.png");
WebURL base_url = URLTestHelpers::ToKURL("http://example.com/");
// This time the background is the default attachment.
- FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrame(),
+ FrameTestHelpers::LoadHTMLString(web_view_impl->MainFrameImpl(),
"<!DOCTYPE html>"
"<style>"
" body {"
@@ -2446,7 +2446,7 @@ TEST_P(VisualViewportTest, AutoResizeNoHeightUsesMinimumHeight) {
WebViewImpl()->ResizeWithBrowserControls(WebSize(0, 0), 0, false);
WebViewImpl()->EnableAutoResizeMode(WebSize(25, 25), WebSize(100, 100));
WebURL base_url = URLTestHelpers::ToKURL("http://example.com/");
- FrameTestHelpers::LoadHTMLString(WebViewImpl()->MainFrame(),
+ FrameTestHelpers::LoadHTMLString(WebViewImpl()->MainFrameImpl(),
"<!DOCTYPE html>"
"<style>"
" body {"

Powered by Google App Engine
This is Rietveld 408576698