Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / test / base / view_event_test_platform_part_mac.mm
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
7 namespace {
8
9 // ViewEventTestPlatformPart implementation for toolkit-views on Mac.
10 class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart {
11  public:
12   ViewEventTestPlatformPartMac() {}
13
14   // Overridden from ViewEventTestPlatformPart:
15   gfx::NativeWindow GetContext() override { return NULL; }
16
17  private:
18   DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac);
19 };
20
21 }  // namespace
22
23 // static
24 ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create(
25     ui::ContextFactory* context_factory) {
26   return new ViewEventTestPlatformPartMac();
27 }