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

Unified Diff: content/shell/renderer/test_runner/test_interfaces.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 7 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/test_interfaces.h
diff --git a/content/shell/renderer/test_runner/test_interfaces.h b/content/shell/renderer/test_runner/test_interfaces.h
deleted file mode 100644
index c2390ea133377817fd6f07cfc50f74d4ccb4cea7..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/test_interfaces.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "content/shell/renderer/test_runner/mock_web_theme_engine.h"
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
-
-namespace blink {
-class WebFrame;
-class WebThemeEngine;
-class WebURL;
-class WebView;
-}
-
-namespace content {
-
-class AccessibilityController;
-class AppBannerClient;
-class EventSender;
-class GamepadController;
-class TestRunner;
-class TextInputController;
-class WebTestDelegate;
-class WebTestProxyBase;
-
-class TestInterfaces {
- public:
- TestInterfaces();
- ~TestInterfaces();
-
- void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy);
- void SetDelegate(WebTestDelegate* delegate);
- void BindTo(blink::WebFrame* frame);
- void ResetTestHelperControllers();
- void ResetAll();
- void SetTestIsRunning(bool running);
- void ConfigureForTestWithURL(const blink::WebURL& test_url,
- bool generate_pixels);
- void SetAppBannerClient(AppBannerClient* app_banner_client);
-
- void WindowOpened(WebTestProxyBase* proxy);
- void WindowClosed(WebTestProxyBase* proxy);
-
- AccessibilityController* GetAccessibilityController();
- EventSender* GetEventSender();
- TestRunner* GetTestRunner();
- WebTestDelegate* GetDelegate();
- WebTestProxyBase* GetProxy();
- const std::vector<WebTestProxyBase*>& GetWindowList();
- blink::WebThemeEngine* GetThemeEngine();
- AppBannerClient* GetAppBannerClient();
-
- private:
- scoped_ptr<AccessibilityController> accessibility_controller_;
- scoped_ptr<EventSender> event_sender_;
- base::WeakPtr<GamepadController> gamepad_controller_;
- scoped_ptr<TextInputController> text_input_controller_;
- scoped_ptr<TestRunner> test_runner_;
- WebTestDelegate* delegate_;
- WebTestProxyBase* proxy_;
- AppBannerClient* app_banner_client_;
-
- std::vector<WebTestProxyBase*> window_list_;
- scoped_ptr<MockWebThemeEngine> theme_engine_;
-
- DISALLOW_COPY_AND_ASSIGN(TestInterfaces);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_INTERFACES_H_
« no previous file with comments | « content/shell/renderer/test_runner/test_common.cc ('k') | content/shell/renderer/test_runner/test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698