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

Unified Diff: public/web/WebView.h

Issue 294163013: Add method in WebView to notify about accept languages change. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index a9c1e3ef3ac94bf3b3d35b1c07c7ebf6c62bea78..769c67c36ffbd4b7ccaff3e9a8b5eff9db05f4d0 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -492,6 +492,13 @@ public:
virtual void removePageOverlay(WebPageOverlay*) = 0;
+ // i18n -----------------------------------------------------------------
+
+ // Inform the WebView that the accept languages have changed.
+ // If the WebView wants to get the accept languages value, it will have
+ // to call the WebViewClient::acceptLanguages().
+ virtual void acceptLanguagesChanged() = 0;
+
// Testing functionality for TestRunner ---------------------------------
protected:
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698