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

Side by Side Diff: content/public/renderer/content_renderer_client.cc

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 #include "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() {
10 return NULL; 10 return NULL;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 unsigned long long ContentRendererClient::VisitedLinkHash( 121 unsigned long long ContentRendererClient::VisitedLinkHash(
122 const char* canonical_url, size_t length) { 122 const char* canonical_url, size_t length) {
123 return 0LL; 123 return 0LL;
124 } 124 }
125 125
126 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { 126 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
127 return false; 127 return false;
128 } 128 }
129 129
130 WebKit::WebPrescientNetworking*
131 ContentRendererClient::GetPrescientNetworking() {
132 return NULL;
133 }
134
130 bool ContentRendererClient::ShouldOverridePageVisibilityState( 135 bool ContentRendererClient::ShouldOverridePageVisibilityState(
131 const RenderView* render_view, 136 const RenderView* render_view,
132 WebKit::WebPageVisibilityState* override_state) const { 137 WebKit::WebPageVisibilityState* override_state) const {
133 return false; 138 return false;
134 } 139 }
135 140
136 bool ContentRendererClient::HandleGetCookieRequest( 141 bool ContentRendererClient::HandleGetCookieRequest(
137 RenderView* sender, 142 RenderView* sender,
138 const GURL& url, 143 const GURL& url,
139 const GURL& first_party_for_cookies, 144 const GURL& first_party_for_cookies,
(...skipping 16 matching lines...) Expand all
156 161
157 MessageLoop* ContentRendererClient::OverrideCompositorMessageLoop() const { 162 MessageLoop* ContentRendererClient::OverrideCompositorMessageLoop() const {
158 return NULL; 163 return NULL;
159 } 164 }
160 165
161 bool ContentRendererClient::ShouldCreateCompositorInputHandler() const { 166 bool ContentRendererClient::ShouldCreateCompositorInputHandler() const {
162 return true; 167 return true;
163 } 168 }
164 169
165 } // namespace content 170 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698