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

Unified Diff: content/browser/web_contents/web_contents_impl_browsertest.cc

Issue 84063003: Rename WebContentsObserver::NavigateToPendingEntry to DidStartNavigationToPendingEntry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: content/browser/web_contents/web_contents_impl_browsertest.cc
diff --git a/content/browser/web_contents/web_contents_impl_browsertest.cc b/content/browser/web_contents/web_contents_impl_browsertest.cc
index 48cba05f8f4591e2276966a44876c980c2218024..fba71123deeac64c1e391abd6dac8c1902ec1cc7 100644
--- a/content/browser/web_contents/web_contents_impl_browsertest.cc
+++ b/content/browser/web_contents/web_contents_impl_browsertest.cc
@@ -135,7 +135,7 @@ class RenderViewSizeObserver : public WebContentsObserver {
rwhv_create_size_ = rvh->GetView()->GetViewBounds().size();
}
- virtual void NavigateToPendingEntry(
+ virtual void DidCreatePendingEntry(
const GURL& url,
NavigationController::ReloadType reload_type) OVERRIDE {
ResizeWebContentsView(shell_, wcv_new_size_, false);
@@ -288,7 +288,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsImplBrowserTest,
// RenderWidgetHostView is created at specified size.
init_size.Enlarge(size_insets.width(), size_insets.height());
EXPECT_EQ(init_size, observer.rwhv_create_size());
- // RenderViewSizeObserver resizes WebContentsView in NavigateToPendingEntry,
+ // RenderViewSizeObserver resizes WebContentsView in DidCreatePendingEntry,
// so both WebContentsView and RenderWidgetHostView adopt this new size.
new_size.Enlarge(size_insets.width(), size_insets.height());
EXPECT_EQ(new_size,

Powered by Google App Engine
This is Rietveld 408576698