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

Unified Diff: components/translate/ios/browser/language_detection_controller.h

Issue 2711363003: Use DidFinishNavigation callback in LanguageDetectionController. (Closed)
Patch Set: Removed unused method Created 3 years, 10 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
« no previous file with comments | « no previous file | components/translate/ios/browser/language_detection_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/ios/browser/language_detection_controller.h
diff --git a/components/translate/ios/browser/language_detection_controller.h b/components/translate/ios/browser/language_detection_controller.h
index 72a3d5bc657b20ad4b1c6131133155724a5d1408..c3271e829dcb331e39206b28f2940916aa46a298 100644
--- a/components/translate/ios/browser/language_detection_controller.h
+++ b/components/translate/ios/browser/language_detection_controller.h
@@ -25,6 +25,7 @@ class DictionaryValue;
}
namespace web {
+class NavigationContext;
class WebState;
}
@@ -78,8 +79,7 @@ class LanguageDetectionController : public web::WebStateObserver {
// web::WebStateObserver implementation:
void PageLoaded(
web::PageLoadCompletionStatus load_completion_status) override;
- void UrlHashChanged() override;
- void HistoryStateChanged() override;
+ void DidFinishNavigation(web::NavigationContext* navigation_context) override;
void WebStateDestroyed() override;
CallbackList language_detection_callbacks_;
« no previous file with comments | « no previous file | components/translate/ios/browser/language_detection_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698