From b9829df7070beb8bfbbac366a0f84fb00bb25a92 Mon Sep 17 00:00:00 2001 From: "tsepez@chromium.org" Date: Mon, 18 Nov 2013 22:03:51 +0000 Subject: The WebPublicSuffixList API allows embedders to tell Blink about what constitutes a top-level domain. It is the source of truth that says that for google.co.uk, co.uk is the top-level domain, and not just .uk. Blink has, until now, been completely ignorant of this complication. This is the third part of a two-sided patch. The tests will be on the Blink side, landing as the fourth part of the two-sided patch (once this has landed on the chrome side). BUG=307407 Review URL: https://codereview.chromium.org/60893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235828 0039d316-1c4b-4281-b951-d872f2087c98 --- content/renderer/renderer_webkitplatformsupport_impl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'content/renderer/renderer_webkitplatformsupport_impl.h') diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h index 793acb38..a759b19 100644 --- a/content/renderer/renderer_webkitplatformsupport_impl.h +++ b/content/renderer/renderer_webkitplatformsupport_impl.h @@ -10,6 +10,7 @@ #include "base/platform_file.h" #include "content/child/webkitplatformsupport_impl.h" #include "content/common/content_export.h" +#include "content/renderer/webpublicsuffixlist_impl.h" #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" #include "third_party/WebKit/public/platform/WebIDBFactory.h" #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" @@ -88,6 +89,7 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl const blink::WebURL& url); virtual void getPluginList(bool refresh, blink::WebPluginListBuilder* builder); + virtual blink::WebPublicSuffixList* publicSuffixList(); virtual void screenColorProfile(blink::WebVector* to_profile); virtual blink::WebIDBFactory* idbFactory(); virtual blink::WebFileSystem* fileSystem(); @@ -203,6 +205,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl scoped_ptr blob_registry_; + WebPublicSuffixListImpl public_suffix_list_; + scoped_ptr device_motion_event_pump_; scoped_ptr device_orientation_event_pump_; -- cgit v1.1