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

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

Issue 9875026: **NOTFORLANDING** New link rel=prerender API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wdyt? Created 8 years, 9 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 | Annotate | Revision Log
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_MOCK_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 v8::Handle<v8::Context> context, 58 v8::Handle<v8::Context> context,
59 int extension_group, 59 int extension_group,
60 int world_id) OVERRIDE; 60 int world_id) OVERRIDE;
61 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, 61 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
62 v8::Handle<v8::Context> context, 62 v8::Handle<v8::Context> context,
63 int world_id) OVERRIDE; 63 int world_id) OVERRIDE;
64 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 64 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
65 size_t length) OVERRIDE; 65 size_t length) OVERRIDE;
66 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 66 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
67 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; 67 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
68 virtual void NewLinkPrerender(int prerender_id,
69 int render_view_route_id,
70 const GURL& url,
71 const content::Referrer& referrer,
72 const gfx::Size& size) OVERRIDE;
73 virtual void RemovedLinkPrerender(int prerender_id) OVERRIDE;
74 virtual void UnloadedLinkPrerender(int prerender_id) OVERRIDE;
68 virtual bool ShouldOverridePageVisibilityState( 75 virtual bool ShouldOverridePageVisibilityState(
69 const RenderView* render_view, 76 const RenderView* render_view,
70 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; 77 WebKit::WebPageVisibilityState* override_state) const OVERRIDE;
71 virtual bool HandleGetCookieRequest(RenderView* sender, 78 virtual bool HandleGetCookieRequest(RenderView* sender,
72 const GURL& url, 79 const GURL& url,
73 const GURL& first_party_for_cookies, 80 const GURL& first_party_for_cookies,
74 std::string* cookies) OVERRIDE; 81 std::string* cookies) OVERRIDE;
75 virtual bool HandleSetCookieRequest(RenderView* sender, 82 virtual bool HandleSetCookieRequest(RenderView* sender,
76 const GURL& url, 83 const GURL& url,
77 const GURL& first_party_for_cookies, 84 const GURL& first_party_for_cookies,
78 const std::string& value) OVERRIDE; 85 const std::string& value) OVERRIDE;
79 virtual void RegisterPPAPIInterfaceFactories( 86 virtual void RegisterPPAPIInterfaceFactories(
80 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; 87 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
81 }; 88 };
82 89
83 } // namespace content 90 } // namespace content
84 91
85 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ 92 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698