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

Unified Diff: components/test_runner/mock_screen_orientation_client.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/gamepad_controller.h ('k') | components/test_runner/test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_screen_orientation_client.h
diff --git a/components/test_runner/mock_screen_orientation_client.h b/components/test_runner/mock_screen_orientation_client.h
index 0271f066bdbfd5376bdb27efe6a75ca8617b4be3..3985c89e5cf507b6ab56d5b5772aaec1fbd927a7 100644
--- a/components/test_runner/mock_screen_orientation_client.h
+++ b/components/test_runner/mock_screen_orientation_client.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_
#define COMPONENTS_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_
+#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "components/test_runner/test_runner_export.h"
#include "third_party/WebKit/public/platform/WebLockOrientationCallback.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationClient.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
@@ -17,7 +19,8 @@ class WebLocalFrame;
namespace test_runner {
-class MockScreenOrientationClient : public blink::WebScreenOrientationClient {
+class TEST_RUNNER_EXPORT MockScreenOrientationClient
+ : public NON_EXPORTED_BASE(blink::WebScreenOrientationClient) {
public:
explicit MockScreenOrientationClient();
virtual ~MockScreenOrientationClient();
« no previous file with comments | « components/test_runner/gamepad_controller.h ('k') | components/test_runner/test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698