flutter_flutter/engine/core/events/ThreadLocalEventNames.h
Eric Seidel 55b5bc485d Sort headers
Fix (most) generated includes to have gen/ in their path.

This makes it easier to tell where files exist on disk.

Unfortunately I had to leave the old include path
in engine/BUILD.gn to support all the v8 includes
which were too many to deal with in this patch.

It's a little nasty to have the raw build directory
in our include path, but it produces nicer paths.

R=abarth@chromium.org
2014-11-19 12:33:42 -08:00

45 lines
1.5 KiB
C++

/*
* Copyright (C) 2005, 2007 Apple Inc. All rights reserved.
* Copyright (C) 2006 Jon Shier (jshier@iastate.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*
*/
#ifndef ThreadLocalEventNames_h
#define ThreadLocalEventNames_h
#include "gen/sky/core/EventInterfaces.h"
#include "gen/sky/core/EventNames.h"
#include "gen/sky/core/EventTargetInterfaces.h"
#include "gen/sky/core/EventTargetNames.h"
#include "gen/sky/core/EventTypeNames.h"
#include "wtf/text/AtomicString.h"
namespace blink {
inline bool isTouchEventType(const AtomicString& eventType)
{
return eventType == EventTypeNames::touchstart
|| eventType == EventTypeNames::touchmove
|| eventType == EventTypeNames::touchend
|| eventType == EventTypeNames::touchcancel;
}
}
#endif