diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 22:03:51 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 22:03:51 +0000 |
commit | b9829df7070beb8bfbbac366a0f84fb00bb25a92 (patch) | |
tree | 4cc4850a7d01c1354ff9866a7decd0e3b5a1270f /content/renderer/renderer_webkitplatformsupport_impl.h | |
parent | 2b0dbd272de36d95c7cd0890a5b3f391f7a13970 (diff) | |
download | chromium_src-b9829df7070beb8bfbbac366a0f84fb00bb25a92.zip chromium_src-b9829df7070beb8bfbbac366a0f84fb00bb25a92.tar.gz chromium_src-b9829df7070beb8bfbbac366a0f84fb00bb25a92.tar.bz2 |
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
Diffstat (limited to 'content/renderer/renderer_webkitplatformsupport_impl.h')
-rw-r--r-- | content/renderer/renderer_webkitplatformsupport_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<char>* to_profile); virtual blink::WebIDBFactory* idbFactory(); virtual blink::WebFileSystem* fileSystem(); @@ -203,6 +205,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl scoped_ptr<blink::WebBlobRegistry> blob_registry_; + WebPublicSuffixListImpl public_suffix_list_; + scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_; scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_; |