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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 14749005: Implement WebPrescientNetworking to trigger preconnect from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual WebKit::WebHyphenator* hyphenator(); 52 virtual WebKit::WebHyphenator* hyphenator();
53 virtual WebKit::WebThemeEngine* themeEngine(); 53 virtual WebKit::WebThemeEngine* themeEngine();
54 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer( 54 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer(
55 WebKit::WebSpeechSynthesizerClient* client); 55 WebKit::WebSpeechSynthesizerClient* client);
56 virtual bool sandboxEnabled(); 56 virtual bool sandboxEnabled();
57 virtual unsigned long long visitedLinkHash( 57 virtual unsigned long long visitedLinkHash(
58 const char* canonicalURL, size_t length); 58 const char* canonicalURL, size_t length);
59 virtual bool isLinkVisited(unsigned long long linkHash); 59 virtual bool isLinkVisited(unsigned long long linkHash);
60 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); 60 virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
61 virtual void prefetchHostName(const WebKit::WebString&); 61 virtual void prefetchHostName(const WebKit::WebString&);
62 virtual WebKit::WebPrescientNetworking* prescientNetworking();
62 virtual void cacheMetadata( 63 virtual void cacheMetadata(
63 const WebKit::WebURL&, double, const char*, size_t); 64 const WebKit::WebURL&, double, const char*, size_t);
64 virtual WebKit::WebString defaultLocale(); 65 virtual WebKit::WebString defaultLocale();
65 virtual void suddenTerminationChanged(bool enabled); 66 virtual void suddenTerminationChanged(bool enabled);
66 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 67 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
67 const WebKit::WebString& path, unsigned quota); 68 const WebKit::WebString& path, unsigned quota);
68 virtual WebKit::Platform::FileHandle databaseOpenFile( 69 virtual WebKit::Platform::FileHandle databaseOpenFile(
69 const WebKit::WebString& vfs_file_name, int desired_flags); 70 const WebKit::WebString& vfs_file_name, int desired_flags);
70 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, 71 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
71 bool sync_dir); 72 bool sync_dir);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 175 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
175 176
176 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; 177 scoped_refptr<cc::ContextProvider> shared_offscreen_context_;
177 178
178 webkit::WebCompositorSupportImpl compositor_support_; 179 webkit::WebCompositorSupportImpl compositor_support_;
179 }; 180 };
180 181
181 } // namespace content 182 } // namespace content
182 183
183 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 184 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698