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

Side by Side Diff: ui/aura/event_win.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 "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/base/keycodes/keyboard_code_conversion_win.h" 8 #include "ui/base/keycodes/keyboard_code_conversion_win.h"
9 9
10 namespace aura { 10 namespace aura {
11 11
12 namespace { 12 namespace {
13 13
14 bool IsClientMouseEvent(const NativeEvent& native_event) { 14 bool IsClientMouseEvent(const NativeEvent& native_event) {
15 return native_event.message == WM_MOUSELEAVE || 15 return native_event.message == WM_MOUSELEAVE ||
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 213 }
214 214
215 KeyEvent::KeyEvent(NativeEvent native_event) 215 KeyEvent::KeyEvent(NativeEvent native_event)
216 : Event(native_event, 216 : Event(native_event,
217 EventTypeFromNative(native_event), 217 EventTypeFromNative(native_event),
218 GetKeyStateFlags()), 218 GetKeyStateFlags()),
219 key_code_(ui::KeyboardCodeForWindowsKeyCode(native_event.wParam)) { 219 key_code_(ui::KeyboardCodeForWindowsKeyCode(native_event.wParam)) {
220 } 220 }
221 221
222 } // namespace aura 222 } // namespace aura
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/event.cc ('k') | ui/aura/event_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698