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

Unified Diff: content/shell/renderer/shell_content_renderer_client.cc

Issue 595943002: WebTestInterfaces class to chromium c++ style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolved comments Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/renderer/shell_render_frame_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/shell_content_renderer_client.cc
diff --git a/content/shell/renderer/shell_content_renderer_client.cc b/content/shell/renderer/shell_content_renderer_client.cc
index 34ea2bd2287e9c68dc87050164b417e2a68dc473..34a3ab53a21a2ca67f8d4dbac66891a104a37644 100644
--- a/content/shell/renderer/shell_content_renderer_client.cc
+++ b/content/shell/renderer/shell_content_renderer_client.cc
@@ -19,8 +19,8 @@
#include "content/shell/renderer/shell_render_frame_observer.h"
#include "content/shell/renderer/shell_render_process_observer.h"
#include "content/shell/renderer/shell_render_view_observer.h"
-#include "content/shell/renderer/test_runner/WebTestInterfaces.h"
#include "content/shell/renderer/test_runner/mock_credential_manager_client.h"
+#include "content/shell/renderer/test_runner/web_test_interfaces.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
#include "content/shell/renderer/webkit_test_runner.h"
#include "content/test/mock_webclipboard_impl.h"
@@ -136,7 +136,7 @@ ShellContentRendererClient::OverrideCreateWebMediaStreamCenter(
#if defined(ENABLE_WEBRTC)
WebTestInterfaces* interfaces =
ShellRenderProcessObserver::GetInstance()->test_interfaces();
- return interfaces->createMediaStreamCenter(client);
+ return interfaces->CreateMediaStreamCenter(client);
#else
return NULL;
#endif
@@ -150,7 +150,7 @@ ShellContentRendererClient::OverrideCreateWebRTCPeerConnectionHandler(
#if defined(ENABLE_WEBRTC)
WebTestInterfaces* interfaces =
ShellRenderProcessObserver::GetInstance()->test_interfaces();
- return interfaces->createWebRTCPeerConnectionHandler(client);
+ return interfaces->CreateWebRTCPeerConnectionHandler(client);
#else
return NULL;
#endif
@@ -161,7 +161,7 @@ ShellContentRendererClient::OverrideCreateMIDIAccessor(
WebMIDIAccessorClient* client) {
WebTestInterfaces* interfaces =
ShellRenderProcessObserver::GetInstance()->test_interfaces();
- return interfaces->createMIDIAccessor(client);
+ return interfaces->CreateMIDIAccessor(client);
}
WebAudioDevice*
@@ -171,7 +171,7 @@ ShellContentRendererClient::OverrideCreateAudioDevice(
return NULL;
WebTestInterfaces* interfaces =
ShellRenderProcessObserver::GetInstance()->test_interfaces();
- return interfaces->createAudioDevice(sample_rate);
+ return interfaces->CreateAudioDevice(sample_rate);
}
WebClipboard* ShellContentRendererClient::OverrideWebClipboard() {
@@ -185,8 +185,9 @@ WebClipboard* ShellContentRendererClient::OverrideWebClipboard() {
WebThemeEngine* ShellContentRendererClient::OverrideThemeEngine() {
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
return NULL;
- return ShellRenderProcessObserver::GetInstance()->test_interfaces()
- ->themeEngine();
+ return ShellRenderProcessObserver::GetInstance()
+ ->test_interfaces()
+ ->ThemeEngine();
}
void ShellContentRendererClient::WebTestProxyCreated(RenderView* render_view,
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/renderer/shell_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698