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

Side by Side Diff: ui/aura/event_x.cc

Issue 7886042: Move Aura to UI subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "aura/event.h" 5 #include "ui/aura/event.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 #include <X11/extensions/XInput2.h> 8 #include <X11/extensions/XInput2.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "ui/base/keycodes/keyboard_code_conversion_x.h" 11 #include "ui/base/keycodes/keyboard_code_conversion_x.h"
12 12
13 namespace aura { 13 namespace aura {
14 14
15 namespace { 15 namespace {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 } 184 }
185 185
186 KeyEvent::KeyEvent(NativeEvent native_event) 186 KeyEvent::KeyEvent(NativeEvent native_event)
187 : Event(native_event, 187 : Event(native_event,
188 EventTypeFromNative(native_event), 188 EventTypeFromNative(native_event),
189 GetEventFlagsFromXState(native_event->xbutton.state)), 189 GetEventFlagsFromXState(native_event->xbutton.state)),
190 key_code_(ui::KeyboardCodeFromXKeyEvent(native_event)) { 190 key_code_(ui::KeyboardCodeFromXKeyEvent(native_event)) {
191 } 191 }
192 192
193 } // namespace aura 193 } // namespace aura
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/event_win.cc ('k') | ui/aura/focus_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698