summaryrefslogtreecommitdiffstats
path: root/ui/aura/event_mac.mm
blob: d68a011f7ae36b2037b0e4648db1b6f6262011d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 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.

#import <AppKit/NSEvent.h>

#include "ui/aura/event_mac.h"

namespace aura {

base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) {
  return [NSEvent eventWithCGEvent:[event CGEvent]];
}

}  // namespace aura