Bug 895274 part.230 Rename NS_SELECT_START to eSelectStart r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 15 Sep 2015 00:14:33 +0900
changeset 294933 9112165662f7d243128171a0ec9e54d300934ad1
parent 294932 15753ee8232fa1585dad78af9569a3d237cda675
child 294934 c738a1dd461142aafb22c0775f6c52ebf6cb2671
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs895274
milestone43.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 895274 part.230 Rename NS_SELECT_START to eSelectStart r=smaug
dom/base/FragmentOrElement.cpp
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/base/FragmentOrElement.cpp
+++ b/dom/base/FragmentOrElement.cpp
@@ -809,17 +809,17 @@ nsIContent::PreHandleEvent(EventChainPre
       case eImageAbort:
       case eLoadError:
       case eFormSelect:
       case eFormChange:
       case eLoad:
       case eFormReset:
       case eResize:
       case eScroll:
-      case NS_SELECT_START:
+      case eSelectStart:
         stopEvent = true;
         break;
       case eUnidentifiedEvent:
         if (aVisitor.mDOMEvent) {
           nsAutoString eventType;
           aVisitor.mDOMEvent->GetType(eventType);
           if (eventType.EqualsLiteral("abort") ||
               eventType.EqualsLiteral("error") ||
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -346,17 +346,17 @@ EVENT(gotpointercapture,
       ePointerGotCapture,
       EventNameType_All,
       ePointerEventClass)
 EVENT(lostpointercapture,
       ePointerLostCapture,
       EventNameType_All,
       ePointerEventClass)
 EVENT(selectstart,
-      NS_SELECT_START,
+      eSelectStart,
       EventNameType_HTMLXUL,
       eBasicEventClass)
 
 // Not supported yet; probably never because "wheel" is a better idea.
 // EVENT(mousewheel)
 EVENT(pause,
       ePause,
       EventNameType_HTML,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -422,10 +422,10 @@ NS_EVENT_MESSAGE(eGamepadEventLast,     
 #endif
 
 // input and beforeinput events.
 NS_EVENT_MESSAGE(NS_EDITOR_EVENT_START,   6100)
 NS_EVENT_MESSAGE(NS_EDITOR_INPUT,         NS_EDITOR_EVENT_START)
 
 // selection events
 NS_EVENT_MESSAGE(NS_SELECT_EVENT_START,   6200)
-NS_EVENT_MESSAGE(NS_SELECT_START,         NS_SELECT_EVENT_START)
+NS_EVENT_MESSAGE(eSelectStart,           NS_SELECT_EVENT_START)
 NS_EVENT_MESSAGE(eSelectionChange,       NS_SELECT_EVENT_START + 1)