Bug 989213 part.3 Rename nsVKList.h to mozilla/VirtualKeyCodeList.h r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 01 Apr 2014 20:42:16 +0900
changeset 195007 5641d9a1653fc2fe80ca440a97b0eac9cd6bab75
parent 195006 86b6ed25488f7009610beb4fb36c40f1bfb9663f
child 195008 8306357eaea5c5f76c835c96c23fa1236167e451
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs989213
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 989213 part.3 Rename nsVKList.h to mozilla/VirtualKeyCodeList.h r=smaug
dom/events/VirtualKeyCodeList.h
dom/events/moz.build
dom/events/nsVKList.h
dom/xbl/nsXBLPrototypeHandler.cpp
widget/TextEvents.h
rename from dom/events/nsVKList.h
rename to dom/events/VirtualKeyCodeList.h
--- a/dom/events/moz.build
+++ b/dom/events/moz.build
@@ -11,29 +11,29 @@ XPIDL_SOURCES += [
     'nsIEventListenerService.idl',
 ]
 
 XPIDL_MODULE = 'content_events'
 
 EXPORTS += [
     'nsEventStates.h',
     'nsIJSEventListener.h',
-    'nsVKList.h',
 ]
 
 EXPORTS.mozilla += [
     'AsyncEventDispatcher.h',
     'DOMEventTargetHelper.h',
     'EventDispatcher.h',
     'EventListenerManager.h',
     'EventNameList.h',
     'EventStateManager.h',
     'IMEStateManager.h',
     'InternalMutationEvent.h',
     'KeyNameList.h',
+    'VirtualKeyCodeList.h',
 ]
 
 EXPORTS.mozilla.dom += [
     'AnimationEvent.h',
     'BeforeUnloadEvent.h',
     'ClipboardEvent.h',
     'CommandEvent.h',
     'CompositionEvent.h',
--- a/dom/xbl/nsXBLPrototypeHandler.cpp
+++ b/dom/xbl/nsXBLPrototypeHandler.cpp
@@ -662,17 +662,17 @@ struct keyCodeData {
 
 // All of these must be uppercase, since the function below does
 // case-insensitive comparison by converting to uppercase.
 // XXX: be sure to check this periodically for new symbol additions!
 static const keyCodeData gKeyCodes[] = {
 
 #define NS_DEFINE_VK(aDOMKeyName, aDOMKeyCode) \
   { #aDOMKeyName, sizeof(#aDOMKeyName) - 1, aDOMKeyCode }
-#include "nsVKList.h"
+#include "mozilla/VirtualKeyCodeList.h"
 #undef NS_DEFINE_VK
 };
 
 int32_t nsXBLPrototypeHandler::GetMatchingKeyCode(const nsAString& aKeyName)
 {
   nsAutoCString keyName;
   keyName.AssignWithConversion(aKeyName);
   ToUpperCase(keyName); // We want case-insensitive comparison with data
--- a/widget/TextEvents.h
+++ b/widget/TextEvents.h
@@ -22,17 +22,17 @@
 /******************************************************************************
  * virtual keycode values
  ******************************************************************************/
 
 #define NS_DEFINE_VK(aDOMKeyName, aDOMKeyCode) NS_##aDOMKeyName = aDOMKeyCode
 
 enum
 {
-#include "nsVKList.h"
+#include "mozilla/VirtualKeyCodeList.h"
 };
 
 #undef NS_DEFINE_VK
 
 #define kLatestSeqno UINT32_MAX
 
 namespace mozilla {