summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/omnibox
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/omnibox')
-rw-r--r--chrome/browser/ui/omnibox/omnibox_navigation_observer.cc4
-rw-r--r--chrome/browser/ui/omnibox/omnibox_navigation_observer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc b/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc
index 736efa3..b7b9057 100644
--- a/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc
+++ b/chrome/browser/ui/omnibox/omnibox_navigation_observer.cc
@@ -95,7 +95,7 @@ void OmniboxNavigationObserver::Observe(
controller->GetBrowserContext()->GetRequestContext());
}
WebContentsObserver::Observe(controller->GetWebContents());
- // NavigateToPendingEntry() will be called for this load as well.
+ // DidStartNavigationToPendingEntry() will be called for this load as well.
}
void OmniboxNavigationObserver::NavigationEntryCommitted(
@@ -113,7 +113,7 @@ void OmniboxNavigationObserver::WebContentsDestroyed(
delete this;
}
-void OmniboxNavigationObserver::NavigateToPendingEntry(
+void OmniboxNavigationObserver::DidStartNavigationToPendingEntry(
const GURL& url,
content::NavigationController::ReloadType reload_type) {
if (load_state_ == LOAD_NOT_SEEN) {
diff --git a/chrome/browser/ui/omnibox/omnibox_navigation_observer.h b/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
index 39754d6..1d0a6bc 100644
--- a/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
+++ b/chrome/browser/ui/omnibox/omnibox_navigation_observer.h
@@ -79,7 +79,7 @@ class OmniboxNavigationObserver : public content::NotificationObserver,
const content::NotificationDetails& details) OVERRIDE;
// content::WebContentsObserver:
- virtual void NavigateToPendingEntry(
+ virtual void DidStartNavigationToPendingEntry(
const GURL& url,
content::NavigationController::ReloadType reload_type) OVERRIDE;
virtual void NavigationEntryCommitted(