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

Side by Side Diff: ui/base/cocoa/events_mac.mm

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <Cocoa/Cocoa.h> 5 #include <Cocoa/Cocoa.h>
6 6
7 #include "ui/base/events.h" 7 #include "ui/base/events/event_constants.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #import "ui/base/keycodes/keyboard_code_conversion_mac.h" 11 #import "ui/base/keycodes/keyboard_code_conversion_mac.h"
12 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 EventType EventTypeFromNative(const base::NativeEvent& native_event) { 16 EventType EventTypeFromNative(const base::NativeEvent& native_event) {
17 NSEventType native_type = [native_event type]; 17 NSEventType native_type = [native_event type];
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 modifierFlags:0 196 modifierFlags:0
197 timestamp:[NSDate timeIntervalSinceReferenceDate] 197 timestamp:[NSDate timeIntervalSinceReferenceDate]
198 windowNumber:0 198 windowNumber:0
199 context:nil 199 context:nil
200 subtype:0 200 subtype:0
201 data1:0 201 data1:0
202 data2:0]; 202 data2:0];
203 } 203 }
204 204
205 } // namespace ui 205 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/accelerators/accelerator_manager_unittest.cc ('k') | ui/base/cocoa/events_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698