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

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

Issue 19594005: Use a mock implementation of Platform::crypto() for layout tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 7 years, 5 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 #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;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { 77 WebKit::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() {
78 return NULL; 78 return NULL;
79 } 79 }
80 80
81 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer( 81 WebKit::WebSpeechSynthesizer* ContentRendererClient::OverrideSpeechSynthesizer(
82 WebKit::WebSpeechSynthesizerClient* client) { 82 WebKit::WebSpeechSynthesizerClient* client) {
83 return NULL; 83 return NULL;
84 } 84 }
85 85
86 WebKit::WebCrypto* ContentRendererClient::OverrideWebCrypto() {
87 return NULL;
88 }
89
86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 90 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
87 return true; 91 return true;
88 } 92 }
89 93
90 bool ContentRendererClient::AllowPopup() { 94 bool ContentRendererClient::AllowPopup() {
91 return false; 95 return false;
92 } 96 }
93 97
94 bool ContentRendererClient::HandleNavigation( 98 bool ContentRendererClient::HandleNavigation(
95 WebKit::WebFrame* frame, 99 WebKit::WebFrame* frame,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 bool ContentRendererClient::AllowBrowserPlugin( 175 bool ContentRendererClient::AllowBrowserPlugin(
172 WebKit::WebPluginContainer* container) const { 176 WebKit::WebPluginContainer* container) const {
173 return false; 177 return false;
174 } 178 }
175 179
176 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) const { 180 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) const {
177 return false; 181 return false;
178 } 182 }
179 183
180 } // namespace content 184 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698