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

Unified Diff: content/shell/renderer/shell_render_process_observer.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
Index: content/shell/renderer/shell_render_process_observer.cc
diff --git a/content/shell/renderer/shell_render_process_observer.cc b/content/shell/renderer/shell_render_process_observer.cc
index 6b32d7af72a86b5d1e74d6267e12d7c28ee4bd1b..a0c55927804a35a693f4c186fa9bde6fd57df4be 100644
--- a/content/shell/renderer/shell_render_process_observer.cc
+++ b/content/shell/renderer/shell_render_process_observer.cc
@@ -12,7 +12,7 @@
#include "content/shell/common/shell_messages.h"
#include "content/shell/common/shell_switches.h"
#include "content/shell/renderer/shell_content_renderer_client.h"
-#include "content/shell/renderer/test_runner/WebTestInterfaces.h"
+#include "content/shell/renderer/test_runner/web_test_interfaces.h"
#include "content/shell/renderer/webkit_test_runner.h"
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -49,13 +49,13 @@ ShellRenderProcessObserver::~ShellRenderProcessObserver() {
}
void ShellRenderProcessObserver::SetTestDelegate(WebTestDelegate* delegate) {
- test_interfaces_->setDelegate(delegate);
+ test_interfaces_->SetDelegate(delegate);
test_delegate_ = delegate;
}
void ShellRenderProcessObserver::SetMainWindow(RenderView* view) {
WebKitTestRunner* test_runner = WebKitTestRunner::Get(view);
- test_interfaces_->setWebView(view->GetWebView(), test_runner->proxy());
+ test_interfaces_->SetWebView(view->GetWebView(), test_runner->proxy());
main_test_runner_ = test_runner;
}
@@ -73,7 +73,7 @@ void ShellRenderProcessObserver::WebKitInitialized() {
}
test_interfaces_.reset(new WebTestInterfaces);
- test_interfaces_->resetAll();
+ test_interfaces_->ResetAll();
}
void ShellRenderProcessObserver::OnRenderProcessShutdown() {
« no previous file with comments | « content/shell/renderer/shell_render_frame_observer.cc ('k') | content/shell/renderer/test_runner/WebTestInterfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698