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

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

Issue 21043002: remove implementation of obsolete WebKitPlatformSupport::prefetchHostName. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 7 years, 4 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/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 int extension_group, 204 int extension_group,
205 int world_id) {} 205 int world_id) {}
206 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, 206 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
207 v8::Handle<v8::Context>, 207 v8::Handle<v8::Context>,
208 int world_id) {} 208 int world_id) {}
209 209
210 // See WebKit::Platform. 210 // See WebKit::Platform.
211 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 211 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
212 size_t length); 212 size_t length);
213 virtual bool IsLinkVisited(unsigned long long link_hash); 213 virtual bool IsLinkVisited(unsigned long long link_hash);
214 virtual void PrefetchHostName(const char* hostname, size_t length) {}
215 virtual WebKit::WebPrescientNetworking* GetPrescientNetworking(); 214 virtual WebKit::WebPrescientNetworking* GetPrescientNetworking();
216 virtual bool ShouldOverridePageVisibilityState( 215 virtual bool ShouldOverridePageVisibilityState(
217 const RenderView* render_view, 216 const RenderView* render_view,
218 WebKit::WebPageVisibilityState* override_state) const; 217 WebKit::WebPageVisibilityState* override_state) const;
219 218
220 // Return true if the GetCookie request will be handled by the embedder. 219 // Return true if the GetCookie request will be handled by the embedder.
221 // Cookies are returned in the cookie parameter. 220 // Cookies are returned in the cookie parameter.
222 virtual bool HandleGetCookieRequest(RenderView* sender, 221 virtual bool HandleGetCookieRequest(RenderView* sender,
223 const GURL& url, 222 const GURL& url,
224 const GURL& first_party_for_cookies, 223 const GURL& first_party_for_cookies,
(...skipping 18 matching lines...) Expand all
243 // Returns whether BrowserPlugin should be allowed within the |container|. 242 // Returns whether BrowserPlugin should be allowed within the |container|.
244 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; 243 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const;
245 244
246 // Returns true if the page at |url| can use Pepper MediaStream APIs. 245 // Returns true if the page at |url| can use Pepper MediaStream APIs.
247 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const; 246 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const;
248 }; 247 };
249 248
250 } // namespace content 249 } // namespace content
251 250
252 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 251 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698