OLD | NEW |
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/shell/shell_content_renderer_client.h" | 5 #include "content/shell/shell_content_renderer_client.h" |
6 | 6 |
7 #include "content/shell/shell_render_process_observer.h" | 7 #include "content/shell/shell_render_process_observer.h" |
8 #include "content/shell/shell_render_view_observer.h" | 8 #include "content/shell/shell_render_view_observer.h" |
9 #include "v8/include/v8.h" | 9 #include "v8/include/v8.h" |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 bool ShellContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 111 bool ShellContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
112 return false; | 112 return false; |
113 } | 113 } |
114 | 114 |
115 void ShellContentRendererClient::PrefetchHostName( | 115 void ShellContentRendererClient::PrefetchHostName( |
116 const char* hostname, size_t length) { | 116 const char* hostname, size_t length) { |
117 } | 117 } |
118 | 118 |
| 119 void ShellContentRendererClient::NewLinkPrerender( |
| 120 int prerender_id, |
| 121 int render_view_route_id, |
| 122 const GURL& url, |
| 123 const content::Referrer& referrer, |
| 124 const gfx::Size& size) { |
| 125 } |
| 126 |
| 127 void ShellContentRendererClient::RemovedLinkPrerender(int prerender_id) { |
| 128 } |
| 129 |
| 130 void ShellContentRendererClient::UnloadedLinkPrerender(int prerender_id) { |
| 131 } |
| 132 |
119 bool ShellContentRendererClient::ShouldOverridePageVisibilityState( | 133 bool ShellContentRendererClient::ShouldOverridePageVisibilityState( |
120 const RenderView* render_view, | 134 const RenderView* render_view, |
121 WebKit::WebPageVisibilityState* override_state) const { | 135 WebKit::WebPageVisibilityState* override_state) const { |
122 return false; | 136 return false; |
123 } | 137 } |
124 | 138 |
125 bool ShellContentRendererClient::HandleGetCookieRequest( | 139 bool ShellContentRendererClient::HandleGetCookieRequest( |
126 RenderView* sender, | 140 RenderView* sender, |
127 const GURL& url, | 141 const GURL& url, |
128 const GURL& first_party_for_cookies, | 142 const GURL& first_party_for_cookies, |
129 std::string* cookies) { | 143 std::string* cookies) { |
130 return false; | 144 return false; |
131 } | 145 } |
132 | 146 |
133 bool ShellContentRendererClient::HandleSetCookieRequest( | 147 bool ShellContentRendererClient::HandleSetCookieRequest( |
134 RenderView* sender, | 148 RenderView* sender, |
135 const GURL& url, | 149 const GURL& url, |
136 const GURL& first_party_for_cookies, | 150 const GURL& first_party_for_cookies, |
137 const std::string& value) { | 151 const std::string& value) { |
138 return false; | 152 return false; |
139 } | 153 } |
140 | 154 |
141 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( | 155 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( |
142 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 156 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
143 } | 157 } |
144 | 158 |
145 } // namespace content | 159 } // namespace content |
OLD | NEW |