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

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

Issue 185263006: Move TestRunner from CppVariable to gin::Wrappable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bug fix: text_runner -> test_runner in gypi :-( Created 6 years, 9 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/WebTestProxy.cpp
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp
index 6d16fda8fba37bba3bf339c833df0644614e7e7c..0b8ddd54ed43b1ed0f2d7a435d463dfdb63ea89b 100644
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp
@@ -14,12 +14,12 @@
#include "content/shell/renderer/test_runner/TestCommon.h"
#include "content/shell/renderer/test_runner/TestInterfaces.h"
#include "content/shell/renderer/test_runner/TestPlugin.h"
-#include "content/shell/renderer/test_runner/TestRunner.h"
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
#include "content/shell/renderer/test_runner/WebTestInterfaces.h"
#include "content/shell/renderer/test_runner/WebTestRunner.h"
#include "content/shell/renderer/test_runner/WebUserMediaClientMock.h"
#include "content/shell/renderer/test_runner/accessibility_controller.h"
+#include "content/shell/renderer/test_runner/test_runner.h"
// FIXME: Including platform_canvas.h here is a layering violation.
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/public/platform/WebCString.h"
@@ -717,7 +717,7 @@ void WebTestProxyBase::scheduleComposite()
void WebTestProxyBase::scheduleAnimation()
{
- if (!m_testInterfaces->testRunner()->testIsRunning())
+ if (!m_testInterfaces->testRunner()->TestIsRunning())
return;
if (!m_animateScheduled) {
@@ -976,12 +976,12 @@ WebSpeechRecognizer* WebTestProxyBase::speechRecognizer()
bool WebTestProxyBase::requestPointerLock()
{
- return m_testInterfaces->testRunner()->requestPointerLock();
+ return m_testInterfaces->testRunner()->RequestPointerLock();
}
void WebTestProxyBase::requestPointerUnlock()
{
- m_testInterfaces->testRunner()->requestPointerUnlock();
+ m_testInterfaces->testRunner()->RequestPointerUnlock();
}
bool WebTestProxyBase::isPointerLocked()
« no previous file with comments | « content/shell/renderer/test_runner/WebTestInterfaces.cpp ('k') | content/shell/renderer/test_runner/WebTestRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698