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

Unified Diff: components/test_runner/web_test_proxy.h

Issue 1169493003: Turn test runner library into an actual component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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 | « components/test_runner/web_test_interfaces.cc ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.h
diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
index 47d350ea3b05fbddfcbb2e79ccf622f5593bef3c..81d736ad8e4e76b38daac68d1c710dd7f4318460 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -12,6 +12,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
+#include "components/test_runner/test_runner_export.h"
#include "components/test_runner/web_task.h"
#include "third_party/WebKit/public/platform/WebImage.h"
#include "third_party/WebKit/public/platform/WebRect.h"
@@ -88,10 +89,12 @@ class WebTestInterfaces;
// when it requires a behavior to be different from the usual, it will call
// WebTestProxyBase that implements the expected behavior.
// See WebTestProxy class comments for more information.
-class WebTestProxyBase {
+class TEST_RUNNER_EXPORT WebTestProxyBase {
public:
void SetInterfaces(WebTestInterfaces* interfaces);
+ WebTestInterfaces* GetInterfaces();
void SetDelegate(WebTestDelegate* delegate);
+ WebTestDelegate* GetDelegate();
void set_widget(blink::WebWidget* widget) { web_widget_ = widget; }
void Reset();
@@ -247,6 +250,7 @@ class WebTestProxyBase {
blink::WebWidget* web_widget() const { return web_widget_; }
+ WebTestInterfaces* web_test_interfaces_;
TestInterfaces* test_interfaces_;
WebTestDelegate* delegate_;
blink::WebWidget* web_widget_;
« no previous file with comments | « components/test_runner/web_test_interfaces.cc ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698