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

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

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/test_runner/WebTestInterfaces.h
diff --git a/content/shell/renderer/test_runner/WebTestInterfaces.h b/content/shell/renderer/test_runner/WebTestInterfaces.h
deleted file mode 100644
index 83764d4751791b24b60d431acf66dad419063789..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/WebTestInterfaces.h
+++ /dev/null
@@ -1,61 +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_WEBTESTINTERFACES_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTINTERFACES_H_
-
-#include "base/memory/scoped_ptr.h"
-
-namespace blink {
-class WebAudioDevice;
-class WebFrame;
-class WebMediaStreamCenter;
-class WebMediaStreamCenterClient;
-class WebMIDIAccessor;
-class WebMIDIAccessorClient;
-class WebRTCPeerConnectionHandler;
-class WebRTCPeerConnectionHandlerClient;
-class WebThemeEngine;
-class WebURL;
-class WebView;
-}
-
-namespace content {
-
-class TestInterfaces;
-class WebTestDelegate;
-class WebTestProxyBase;
-class WebTestRunner;
-
-class WebTestInterfaces {
-public:
- WebTestInterfaces();
- ~WebTestInterfaces();
-
- void setWebView(blink::WebView*, WebTestProxyBase*);
- void setDelegate(WebTestDelegate*);
- void bindTo(blink::WebFrame*);
- void resetAll();
- void setTestIsRunning(bool);
- void configureForTestWithURL(const blink::WebURL&, bool generatePixels);
-
- WebTestRunner* testRunner();
- blink::WebThemeEngine* themeEngine();
-
- blink::WebMediaStreamCenter* createMediaStreamCenter(blink::WebMediaStreamCenterClient*);
- blink::WebRTCPeerConnectionHandler* createWebRTCPeerConnectionHandler(blink::WebRTCPeerConnectionHandlerClient*);
-
- blink::WebMIDIAccessor* createMIDIAccessor(blink::WebMIDIAccessorClient*);
-
- blink::WebAudioDevice* createAudioDevice(double sampleRate);
-
- TestInterfaces* testInterfaces();
-
-private:
- scoped_ptr<TestInterfaces> m_interfaces;
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTESTINTERFACES_H_
« no previous file with comments | « content/shell/renderer/shell_render_process_observer.cc ('k') | content/shell/renderer/test_runner/WebTestInterfaces.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698