1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/test/base/view_event_test_platform_part.h"
6
7namespace {
8
9// ViewEventTestPlatformPart implementation for toolkit-views on Mac.
10class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart {
11 public:
12  ViewEventTestPlatformPartMac() {}
13
14  // Overridden from ViewEventTestPlatformPart:
15  virtual gfx::NativeWindow GetContext() OVERRIDE { return NULL; }
16
17 private:
18  DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac);
19};
20
21}  // namespace
22
23// static
24ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create(
25    ui::ContextFactory* context_factory) {
26  return new ViewEventTestPlatformPartMac();
27}
28