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

Side by Side Diff: content/public/renderer/content_renderer_client.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, 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 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 17 matching lines...) Expand all
28 namespace WebKit { 28 namespace WebKit {
29 class WebClipboard; 29 class WebClipboard;
30 class WebFrame; 30 class WebFrame;
31 class WebHyphenator; 31 class WebHyphenator;
32 class WebMediaPlayerClient; 32 class WebMediaPlayerClient;
33 class WebMediaStreamCenter; 33 class WebMediaStreamCenter;
34 class WebMediaStreamCenterClient; 34 class WebMediaStreamCenterClient;
35 class WebMimeRegistry; 35 class WebMimeRegistry;
36 class WebPlugin; 36 class WebPlugin;
37 class WebPluginContainer; 37 class WebPluginContainer;
38 class WebPrescientNetworking;
38 class WebRTCPeerConnectionHandler; 39 class WebRTCPeerConnectionHandler;
39 class WebRTCPeerConnectionHandlerClient; 40 class WebRTCPeerConnectionHandlerClient;
40 class WebSpeechSynthesizer; 41 class WebSpeechSynthesizer;
41 class WebSpeechSynthesizerClient; 42 class WebSpeechSynthesizerClient;
42 class WebThemeEngine; 43 class WebThemeEngine;
43 class WebURLRequest; 44 class WebURLRequest;
44 struct WebPluginParams; 45 struct WebPluginParams;
45 struct WebURLError; 46 struct WebURLError;
46 } 47 }
47 48
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 int world_id) {} 207 int world_id) {}
207 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, 208 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
208 v8::Handle<v8::Context>, 209 v8::Handle<v8::Context>,
209 int world_id) {} 210 int world_id) {}
210 211
211 // See WebKit::Platform. 212 // See WebKit::Platform.
212 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 213 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
213 size_t length); 214 size_t length);
214 virtual bool IsLinkVisited(unsigned long long link_hash); 215 virtual bool IsLinkVisited(unsigned long long link_hash);
215 virtual void PrefetchHostName(const char* hostname, size_t length) {} 216 virtual void PrefetchHostName(const char* hostname, size_t length) {}
217 virtual WebKit::WebPrescientNetworking* GetPrescientNetworking();
jam 2013/06/03 16:41:28 for WebKit classes that are implemented in src/chr
216 virtual bool ShouldOverridePageVisibilityState( 218 virtual bool ShouldOverridePageVisibilityState(
217 const RenderView* render_view, 219 const RenderView* render_view,
218 WebKit::WebPageVisibilityState* override_state) const; 220 WebKit::WebPageVisibilityState* override_state) const;
219 221
220 // Return true if the GetCookie request will be handled by the embedder. 222 // Return true if the GetCookie request will be handled by the embedder.
221 // Cookies are returned in the cookie parameter. 223 // Cookies are returned in the cookie parameter.
222 virtual bool HandleGetCookieRequest(RenderView* sender, 224 virtual bool HandleGetCookieRequest(RenderView* sender,
223 const GURL& url, 225 const GURL& url,
224 const GURL& first_party_for_cookies, 226 const GURL& first_party_for_cookies,
225 std::string* cookies); 227 std::string* cookies);
(...skipping 24 matching lines...) Expand all
250 int render_view_id, 252 int render_view_id,
251 SynchronousCompositor* compositor) {} 253 SynchronousCompositor* compositor) {}
252 254
253 // Allow the embedder to disable input event filtering by the compositor. 255 // Allow the embedder to disable input event filtering by the compositor.
254 virtual bool ShouldCreateCompositorInputHandler() const; 256 virtual bool ShouldCreateCompositorInputHandler() const;
255 }; 257 };
256 258
257 } // namespace content 259 } // namespace content
258 260
259 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 261 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/net/prescient_networking_dispatcher.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698