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

Unified Diff: ui/events/keycodes/keyboard_code_conversion_mac.h

Issue 24257011: Revert "Revert 224496 "Move ui/base/latency_info* to ui/events"" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp bustage Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/events/keycodes/keyboard_code_conversion_mac.h
diff --git a/ui/events/keycodes/keyboard_code_conversion_mac.h b/ui/events/keycodes/keyboard_code_conversion_mac.h
index 92e6b13702efbc9150e25493467419a7db547a03..d7c05b0072cab3d2ff925b4fc5c09ed1cd10f4e4 100644
--- a/ui/events/keycodes/keyboard_code_conversion_mac.h
+++ b/ui/events/keycodes/keyboard_code_conversion_mac.h
@@ -8,7 +8,7 @@
#import <Cocoa/Cocoa.h>
#include "base/basictypes.h"
-#include "ui/base/ui_export.h"
+#include "ui/events/events_export.h"
#include "ui/events/keycodes/keyboard_codes_posix.h"
namespace ui {
@@ -25,7 +25,7 @@ namespace ui {
// -1 will be returned if the keycode can't be converted.
// This function is mainly for simulating keyboard events in unit tests.
// See |KeyboardCodeFromNSEvent| for reverse conversion.
-UI_EXPORT int MacKeyCodeForWindowsKeyCode(KeyboardCode keycode,
+EVENTS_EXPORT int MacKeyCodeForWindowsKeyCode(KeyboardCode keycode,
NSUInteger flags,
unichar* character,
unichar* characterIgnoringModifiers);
@@ -34,7 +34,7 @@ UI_EXPORT int MacKeyCodeForWindowsKeyCode(KeyboardCode keycode,
// third_party/WebKit/Source/web/mac/WebInputEventFactory.mm
// Converts |event| into a |KeyboardCode|. The mapping is not direct as the Mac
// has a different notion of key codes.
-UI_EXPORT KeyboardCode KeyboardCodeFromNSEvent(NSEvent* event);
+EVENTS_EXPORT KeyboardCode KeyboardCodeFromNSEvent(NSEvent* event);
} // namespace ui
« no previous file with comments | « ui/events/keycodes/keyboard_code_conversion_gtk.h ('k') | ui/events/keycodes/keyboard_code_conversion_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698