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

Unified Diff: chrome/test/base/view_event_test_platform_part_mac.mm

Issue 443553003: MacViews: Split ViewEventTestBase into platform-specific files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-review: fix class comment, remove dead gyp cruft 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 | « chrome/test/base/view_event_test_platform_part_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+}
« no previous file with comments | « chrome/test/base/view_event_test_platform_part_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698