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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 #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;
11 } 11 }
12 12
13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { 13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() {
14 return NULL; 14 return NULL;
15 } 15 }
16 16
17 std::string ContentRendererClient::GetDefaultEncoding() { 17 std::string ContentRendererClient::GetDefaultEncoding() {
18 return std::string(); 18 return std::string();
19 } 19 }
20 20
21 bool ContentRendererClient::OverrideCreatePlugin( 21 bool ContentRendererClient::OverrideCreatePlugin(
22 RenderView* render_view, 22 RenderView* render_view,
23 WebKit::WebFrame* frame, 23 blink::WebFrame* frame,
24 const WebKit::WebPluginParams& params, 24 const blink::WebPluginParams& params,
25 WebKit::WebPlugin** plugin) { 25 blink::WebPlugin** plugin) {
26 return false; 26 return false;
27 } 27 }
28 28
29 WebKit::WebPlugin* ContentRendererClient::CreatePluginReplacement( 29 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement(
30 RenderView* render_view, 30 RenderView* render_view,
31 const base::FilePath& plugin_path) { 31 const base::FilePath& plugin_path) {
32 return NULL; 32 return NULL;
33 } 33 }
34 34
35 bool ContentRendererClient::HasErrorPage(int http_status_code, 35 bool ContentRendererClient::HasErrorPage(int http_status_code,
36 std::string* error_domain) { 36 std::string* error_domain) {
37 return false; 37 return false;
38 } 38 }
39 39
40 bool ContentRendererClient::ShouldSuppressErrorPage(const GURL& url) { 40 bool ContentRendererClient::ShouldSuppressErrorPage(const GURL& url) {
41 return false; 41 return false;
42 } 42 }
43 43
44 void ContentRendererClient::DeferMediaLoad(RenderView* render_view, 44 void ContentRendererClient::DeferMediaLoad(RenderView* render_view,
45 const base::Closure& closure) { 45 const base::Closure& closure) {
46 closure.Run(); 46 closure.Run();
47 } 47 }
48 48
49 WebKit::WebMediaStreamCenter* 49 blink::WebMediaStreamCenter*
50 ContentRendererClient::OverrideCreateWebMediaStreamCenter( 50 ContentRendererClient::OverrideCreateWebMediaStreamCenter(
51 WebKit::WebMediaStreamCenterClient* client) { 51 blink::WebMediaStreamCenterClient* client) {
52 return NULL; 52 return NULL;
53 } 53 }
54 54
55 WebKit::WebRTCPeerConnectionHandler* 55 blink::WebRTCPeerConnectionHandler*
56 ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler( 56 ContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler(
57 WebKit::WebRTCPeerConnectionHandlerClient* client) { 57 blink::WebRTCPeerConnectionHandlerClient* client) {
58 return NULL; 58 return NULL;
59 } 59 }
60 60
61 WebKit::WebMIDIAccessor* 61 blink::WebMIDIAccessor*
62 ContentRendererClient::OverrideCreateMIDIAccessor( 62 ContentRendererClient::OverrideCreateMIDIAccessor(
63 WebKit::WebMIDIAccessorClient* client) { 63 blink::WebMIDIAccessorClient* client) {
64 return NULL; 64 return NULL;
65 } 65 }
66 66
67 WebKit::WebAudioDevice* 67 blink::WebAudioDevice*
68 ContentRendererClient::OverrideCreateAudioDevice( 68 ContentRendererClient::OverrideCreateAudioDevice(
69 double sample_rate) { 69 double sample_rate) {
70 return NULL; 70 return NULL;
71 } 71 }
72 72
73 WebKit::WebClipboard* ContentRendererClient::OverrideWebClipboard() { 73 blink::WebClipboard* ContentRendererClient::OverrideWebClipboard() {
74 return NULL; 74 return NULL;
75 } 75 }
76 76
77 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { 77 blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() {
78 return NULL; 78 return NULL;
79 } 79 }
80 80
81 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( 81 blink::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer(
82 WebKit::WebSpeechSynthesizerClient* client) { 82 blink::WebSpeechSynthesizerClient* client) {
83 return NULL; 83 return NULL;
84 } 84 }
85 85
86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
87 return true; 87 return true;
88 } 88 }
89 89
90 bool ContentRendererClient::AllowPopup() { 90 bool ContentRendererClient::AllowPopup() {
91 return false; 91 return false;
92 } 92 }
93 93
94 bool ContentRendererClient::HandleNavigation( 94 bool ContentRendererClient::HandleNavigation(
95 WebKit::WebFrame* frame, 95 blink::WebFrame* frame,
96 const WebKit::WebURLRequest& request, 96 const blink::WebURLRequest& request,
97 WebKit::WebNavigationType type, 97 blink::WebNavigationType type,
98 WebKit::WebNavigationPolicy default_policy, 98 blink::WebNavigationPolicy default_policy,
99 bool is_redirect) { 99 bool is_redirect) {
100 return false; 100 return false;
101 } 101 }
102 102
103 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, 103 bool ContentRendererClient::ShouldFork(blink::WebFrame* frame,
104 const GURL& url, 104 const GURL& url,
105 const std::string& http_method, 105 const std::string& http_method,
106 bool is_initial_navigation, 106 bool is_initial_navigation,
107 bool is_server_redirect, 107 bool is_server_redirect,
108 bool* send_referrer) { 108 bool* send_referrer) {
109 return false; 109 return false;
110 } 110 }
111 111
112 bool ContentRendererClient::WillSendRequest( 112 bool ContentRendererClient::WillSendRequest(
113 WebKit::WebFrame* frame, 113 blink::WebFrame* frame,
114 PageTransition transition_type, 114 PageTransition transition_type,
115 const GURL& url, 115 const GURL& url,
116 const GURL& first_party_for_cookies, 116 const GURL& first_party_for_cookies,
117 GURL* new_url) { 117 GURL* new_url) {
118 return false; 118 return false;
119 } 119 }
120 120
121 bool ContentRendererClient::ShouldPumpEventsDuringCookieMessage() { 121 bool ContentRendererClient::ShouldPumpEventsDuringCookieMessage() {
122 return false; 122 return false;
123 } 123 }
124 124
125 unsigned long long ContentRendererClient::VisitedLinkHash( 125 unsigned long long ContentRendererClient::VisitedLinkHash(
126 const char* canonical_url, size_t length) { 126 const char* canonical_url, size_t length) {
127 return 0LL; 127 return 0LL;
128 } 128 }
129 129
130 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { 130 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
131 return false; 131 return false;
132 } 132 }
133 133
134 WebKit::WebPrescientNetworking* 134 blink::WebPrescientNetworking*
135 ContentRendererClient::GetPrescientNetworking() { 135 ContentRendererClient::GetPrescientNetworking() {
136 return NULL; 136 return NULL;
137 } 137 }
138 138
139 bool ContentRendererClient::ShouldOverridePageVisibilityState( 139 bool ContentRendererClient::ShouldOverridePageVisibilityState(
140 const RenderView* render_view, 140 const RenderView* render_view,
141 WebKit::WebPageVisibilityState* override_state) { 141 blink::WebPageVisibilityState* override_state) {
142 return false; 142 return false;
143 } 143 }
144 144
145 bool ContentRendererClient::HandleGetCookieRequest( 145 bool ContentRendererClient::HandleGetCookieRequest(
146 RenderView* sender, 146 RenderView* sender,
147 const GURL& url, 147 const GURL& url,
148 const GURL& first_party_for_cookies, 148 const GURL& first_party_for_cookies,
149 std::string* cookies) { 149 std::string* cookies) {
150 return false; 150 return false;
151 } 151 }
(...skipping 10 matching lines...) Expand all
162 const std::string& interface_name) { 162 const std::string& interface_name) {
163 return NULL; 163 return NULL;
164 } 164 }
165 165
166 bool ContentRendererClient::IsExternalPepperPlugin( 166 bool ContentRendererClient::IsExternalPepperPlugin(
167 const std::string& module_name) { 167 const std::string& module_name) {
168 return false; 168 return false;
169 } 169 }
170 170
171 bool ContentRendererClient::IsPluginAllowedToCallRequestOSFileHandle( 171 bool ContentRendererClient::IsPluginAllowedToCallRequestOSFileHandle(
172 WebKit::WebPluginContainer* container) { 172 blink::WebPluginContainer* container) {
173 return false; 173 return false;
174 } 174 }
175 175
176 bool ContentRendererClient::AllowBrowserPlugin( 176 bool ContentRendererClient::AllowBrowserPlugin(
177 WebKit::WebPluginContainer* container) { 177 blink::WebPluginContainer* container) {
178 return false; 178 return false;
179 } 179 }
180 180
181 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { 181 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) {
182 return false; 182 return false;
183 } 183 }
184 184
185 void ContentRendererClient::AddKeySystems( 185 void ContentRendererClient::AddKeySystems(
186 std::vector<KeySystemInfo>* key_systems) { 186 std::vector<KeySystemInfo>* key_systems) {
187 } 187 }
188 188
189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource(
190 const base::string16& source) const { 190 const base::string16& source) const {
191 return false; 191 return false;
192 } 192 }
193 193
194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const {
195 return true; 195 return true;
196 } 196 }
197 197
198 WebKit::WebWorkerPermissionClientProxy* 198 blink::WebWorkerPermissionClientProxy*
199 ContentRendererClient::CreateWorkerPermissionClientProxy( 199 ContentRendererClient::CreateWorkerPermissionClientProxy(
200 RenderView* render_view, WebKit::WebFrame* frame) { 200 RenderView* render_view, blink::WebFrame* frame) {
201 return NULL; 201 return NULL;
202 } 202 }
203 203
204 } // namespace content 204 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/public/renderer/document_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698