mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1259666 part 1 - rename variable and definition change - r=masayuki
MozReview-Commit-ID: 1FWJypkoqYz --HG-- extra : rebase_source : b3faef1abb72e8230ac70a963be96c19392632d4
This commit is contained in:
parent
86ac5f9689
commit
118598553f
@ -2723,7 +2723,7 @@ EventStateManager::DecideGestureEvent(WidgetGestureNotifyEvent* aEvent,
|
||||
*
|
||||
* Note: we'll have to one-off various cases to ensure a good usable behavior
|
||||
*/
|
||||
WidgetGestureNotifyEvent::ePanDirection panDirection =
|
||||
WidgetGestureNotifyEvent::PanDirection panDirection =
|
||||
WidgetGestureNotifyEvent::ePanNone;
|
||||
bool displayPanFeedback = false;
|
||||
for (nsIFrame* current = targetFrame; current;
|
||||
|
@ -61,7 +61,8 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
enum ePanDirection
|
||||
typedef int8_t PanDirectionType;
|
||||
enum PanDirection : PanDirectionType
|
||||
{
|
||||
ePanNone,
|
||||
ePanVertical,
|
||||
@ -69,7 +70,7 @@ public:
|
||||
ePanBoth
|
||||
};
|
||||
|
||||
ePanDirection panDirection;
|
||||
PanDirection panDirection;
|
||||
bool displayPanFeedback;
|
||||
|
||||
void AssignGestureNotifyEventData(const WidgetGestureNotifyEvent& aEvent,
|
||||
|
@ -119,7 +119,7 @@ bool nsWinGesture::InitLibrary()
|
||||
#define GCOUNT 5
|
||||
|
||||
bool nsWinGesture::SetWinGestureSupport(HWND hWnd,
|
||||
WidgetGestureNotifyEvent::ePanDirection aDirection)
|
||||
WidgetGestureNotifyEvent::PanDirection aDirection)
|
||||
{
|
||||
if (!getGestureInfo)
|
||||
return false;
|
||||
|
@ -198,7 +198,7 @@ public:
|
||||
nsWinGesture();
|
||||
|
||||
public:
|
||||
bool SetWinGestureSupport(HWND hWnd, mozilla::WidgetGestureNotifyEvent::ePanDirection aDirection);
|
||||
bool SetWinGestureSupport(HWND hWnd, mozilla::WidgetGestureNotifyEvent::PanDirection aDirection);
|
||||
bool ShutdownWinGestureSupport();
|
||||
bool RegisterTouchWindow(HWND hWnd);
|
||||
bool UnregisterTouchWindow(HWND hWnd);
|
||||
|
Loading…
Reference in New Issue
Block a user