Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / base / view_event_test_platform_part_mac.mm
blob94f96710e835939ae1e51a40271d66c7379730be
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.
5 #include "chrome/test/base/view_event_test_platform_part.h"
7 namespace {
9 // ViewEventTestPlatformPart implementation for toolkit-views on Mac.
10 class ViewEventTestPlatformPartMac : public ViewEventTestPlatformPart {
11  public:
12   ViewEventTestPlatformPartMac() {}
14   // Overridden from ViewEventTestPlatformPart:
15   gfx::NativeWindow GetContext() override { return NULL; }
17  private:
18   DISALLOW_COPY_AND_ASSIGN(ViewEventTestPlatformPartMac);
21 }  // namespace
23 // static
24 ViewEventTestPlatformPart* ViewEventTestPlatformPart::Create(
25     ui::ContextFactory* context_factory) {
26   return new ViewEventTestPlatformPartMac();