OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer/content_renderer_client.h" | 5 #include "content/renderer/content_renderer_client.h" |
6 | 6 |
| 7 #include "base/file_path.h" |
7 #include "content/renderer/render_view.h" | 8 #include "content/renderer/render_view.h" |
8 | 9 |
9 using WebKit::WebFrame; | 10 using WebKit::WebFrame; |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 void ContentRendererClient::RenderThreadStarted() { | 13 void ContentRendererClient::RenderThreadStarted() { |
13 } | 14 } |
14 | 15 |
15 void ContentRendererClient::RenderViewCreated(RenderView* render_view) { | 16 void ContentRendererClient::RenderViewCreated(RenderView* render_view) { |
16 } | 17 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 bool* send_referrer) { | 53 bool* send_referrer) { |
53 return false; | 54 return false; |
54 } | 55 } |
55 | 56 |
56 bool ContentRendererClient::WillSendRequest(WebFrame* frame, | 57 bool ContentRendererClient::WillSendRequest(WebFrame* frame, |
57 const GURL& url, | 58 const GURL& url, |
58 GURL* new_url) { | 59 GURL* new_url) { |
59 return false; | 60 return false; |
60 } | 61 } |
61 | 62 |
| 63 FilePath ContentRendererClient::GetMediaLibraryPath() { |
| 64 return FilePath(); |
| 65 } |
| 66 |
| 67 bool ContentRendererClient::ShouldPumpEventsDuringCookieMessage() { |
| 68 return false; |
| 69 } |
| 70 |
62 void ContentRendererClient::DidCreateScriptContext(WebFrame* frame) { | 71 void ContentRendererClient::DidCreateScriptContext(WebFrame* frame) { |
63 } | 72 } |
64 | 73 |
65 void ContentRendererClient::DidDestroyScriptContext(WebFrame* frame) { | 74 void ContentRendererClient::DidDestroyScriptContext(WebFrame* frame) { |
66 } | 75 } |
67 | 76 |
68 void ContentRendererClient::DidCreateIsolatedScriptContext(WebFrame* frame) { | 77 void ContentRendererClient::DidCreateIsolatedScriptContext(WebFrame* frame) { |
69 } | 78 } |
70 | 79 |
71 unsigned long long ContentRendererClient::VisitedLinkHash( | 80 unsigned long long ContentRendererClient::VisitedLinkHash( |
72 const char* canonical_url, size_t length) { | 81 const char* canonical_url, size_t length) { |
73 return 0; | 82 return 0; |
74 } | 83 } |
75 | 84 |
76 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 85 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
77 return false; | 86 return false; |
78 } | 87 } |
79 | 88 |
80 void ContentRendererClient::PrefetchHostName(const char* hostname, | 89 void ContentRendererClient::PrefetchHostName(const char* hostname, |
81 size_t length) { | 90 size_t length) { |
82 } | 91 } |
83 | 92 |
84 } // namespace content | 93 } // namespace content |
OLD | NEW |