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

Unified Diff: content/shell/renderer/test_runner/WebTestInterfaces.cpp

Issue 458723002: TestInterfaces to chromium c++ style, rename methods and remove un-used header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated Created 6 years, 4 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
Index: content/shell/renderer/test_runner/WebTestInterfaces.cpp
diff --git a/content/shell/renderer/test_runner/WebTestInterfaces.cpp b/content/shell/renderer/test_runner/WebTestInterfaces.cpp
index 01475d823a9fcc66514953811c5e3b32f44105d4..513cc591bda6c3a8f5784c2c7fb35588dd1ee63c 100644
--- a/content/shell/renderer/test_runner/WebTestInterfaces.cpp
+++ b/content/shell/renderer/test_runner/WebTestInterfaces.cpp
@@ -4,11 +4,11 @@
#include "content/shell/renderer/test_runner/WebTestInterfaces.h"
-#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/mock_web_audio_device.h"
#include "content/shell/renderer/test_runner/mock_web_media_stream_center.h"
#include "content/shell/renderer/test_runner/mock_web_midi_accessor.h"
#include "content/shell/renderer/test_runner/mock_webrtc_peer_connection_handler.h"
+#include "content/shell/renderer/test_runner/test_interfaces.h"
#include "content/shell/renderer/test_runner/test_runner.h"
using namespace blink;
@@ -26,42 +26,42 @@ WebTestInterfaces::~WebTestInterfaces()
void WebTestInterfaces::setWebView(WebView* webView, WebTestProxyBase* proxy)
{
- m_interfaces->setWebView(webView, proxy);
+ m_interfaces->SetWebView(webView, proxy);
}
void WebTestInterfaces::setDelegate(WebTestDelegate* delegate)
{
- m_interfaces->setDelegate(delegate);
+ m_interfaces->SetDelegate(delegate);
}
void WebTestInterfaces::bindTo(WebFrame* frame)
{
- m_interfaces->bindTo(frame);
+ m_interfaces->BindTo(frame);
}
void WebTestInterfaces::resetAll()
{
- m_interfaces->resetAll();
+ m_interfaces->ResetAll();
}
void WebTestInterfaces::setTestIsRunning(bool running)
{
- m_interfaces->setTestIsRunning(running);
+ m_interfaces->SetTestIsRunning(running);
}
void WebTestInterfaces::configureForTestWithURL(const WebURL& testURL, bool generatePixels)
{
- m_interfaces->configureForTestWithURL(testURL, generatePixels);
+ m_interfaces->ConfigureForTestWithURL(testURL, generatePixels);
}
WebTestRunner* WebTestInterfaces::testRunner()
{
- return m_interfaces->testRunner();
+ return m_interfaces->GetTestRunner();
}
WebThemeEngine* WebTestInterfaces::themeEngine()
{
- return m_interfaces->themeEngine();
+ return m_interfaces->GetThemeEngine();
}
TestInterfaces* WebTestInterfaces::testInterfaces()
« no previous file with comments | « content/shell/renderer/test_runner/TestInterfaces.cpp ('k') | content/shell/renderer/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698