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

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

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
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/renderer/test_runner/TestInterfaces.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/TestInterfaces.h
diff --git a/content/shell/renderer/test_runner/TestInterfaces.h b/content/shell/renderer/test_runner/TestInterfaces.h
deleted file mode 100644
index b2034760566a10addb74a6ecccdd335333e1d0ef..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/TestInterfaces.h
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright 2013 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_TESTINTERFACES_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTINTERFACES_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
-
-#if defined(__APPLE__)
-#include "content/shell/renderer/test_runner/mock_web_theme_engine_mac.h"
-#else
-#include "content/shell/renderer/test_runner/mock_web_theme_engine.h"
-#endif
-
-namespace blink {
-class WebFrame;
-class WebThemeEngine;
-class WebURL;
-class WebView;
-}
-
-namespace content {
-
-class AccessibilityController;
-class EventSender;
-class GamepadController;
-class TestRunner;
-class TextInputController;
-class WebTestDelegate;
-class WebTestProxyBase;
-
-class TestInterfaces {
-public:
- TestInterfaces();
- ~TestInterfaces();
-
- void setWebView(blink::WebView*, WebTestProxyBase*);
- void setDelegate(WebTestDelegate*);
- void bindTo(blink::WebFrame*);
- void resetTestHelperControllers();
- void resetAll();
- void setTestIsRunning(bool);
- void configureForTestWithURL(const blink::WebURL&, bool generatePixels);
-
- void windowOpened(WebTestProxyBase*);
- void windowClosed(WebTestProxyBase*);
-
- AccessibilityController* accessibilityController();
- EventSender* eventSender();
- TestRunner* testRunner();
- WebTestDelegate* delegate();
- WebTestProxyBase* proxy();
- const std::vector<WebTestProxyBase*>& windowList();
- blink::WebThemeEngine* themeEngine();
-
-private:
- scoped_ptr<AccessibilityController> m_accessibilityController;
- scoped_ptr<EventSender> m_eventSender;
- scoped_ptr<GamepadController> m_gamepadController;
- scoped_ptr<TextInputController> m_textInputController;
- scoped_ptr<TestRunner> m_testRunner;
- WebTestDelegate* m_delegate;
- WebTestProxyBase* m_proxy;
-
- std::vector<WebTestProxyBase*> m_windowList;
-#if defined(__APPLE__)
- scoped_ptr<MockWebThemeEngineMac> m_themeEngine;
-#else
- scoped_ptr<MockWebThemeEngine> m_themeEngine;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(TestInterfaces);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TESTINTERFACES_H_
« no previous file with comments | « content/shell/BUILD.gn ('k') | content/shell/renderer/test_runner/TestInterfaces.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698