Index: chrome/test/base/view_event_test_platform_part_mac.mm |
diff --git a/chrome/test/base/view_event_test_platform_part_mac.mm b/chrome/test/base/view_event_test_platform_part_mac.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d20ab7fa38e1e7aa6f490d5297aacb32275198de |
--- /dev/null |
+++ b/chrome/test/base/view_event_test_platform_part_mac.mm |
@@ -0,0 +1,27 @@ |
+// 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. |
+ |
+#include "chrome/test/base/view_event_test_platform_part.h" |
+ |
+namespace { |
+ |
+// ViewEventTestPlatformPart implementation for toolkit-views on Mac. |
+class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart { |
+ public: |
+ ViewEventTestPlatformPartMac() {} |
+ |
+ // Overridden from ViewEventTestPlatformPart: |
+ virtual gfx::NativeWindow GetContext() OVERRIDE { return NULL; } |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac); |
+}; |
+ |
+} // namespace |
+ |
+// static |
+ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create( |
+ ui::ContextFactory* context_factory) { |
+ return new ViewEventTestPlatformPartMac(); |
+} |