| Index: Source/modules/pointerevents/NavigatorPointerEvents.h
|
| diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.h b/Source/modules/pointerevents/NavigatorPointerEvents.h
|
| similarity index 79%
|
| copy from Source/modules/donottrack/NavigatorDoNotTrack.h
|
| copy to Source/modules/pointerevents/NavigatorPointerEvents.h
|
| index 0c044e7cd8edef2f8860c374d59f077e1e963816..de56940b853d021932e2d9397a028badbf9a5bd3 100644
|
| --- a/Source/modules/donottrack/NavigatorDoNotTrack.h
|
| +++ b/Source/modules/pointerevents/NavigatorPointerEvents.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef NavigatorDoNotTrack_h
|
| -#define NavigatorDoNotTrack_h
|
| +#ifndef NavigatorPointerEvents_h
|
| +#define NavigatorPointerEvents_h
|
|
|
| #include "core/page/DOMWindowProperty.h"
|
| #include "core/platform/Supplementable.h"
|
| @@ -40,20 +40,22 @@ namespace WebCore {
|
| class Frame;
|
| class Navigator;
|
|
|
| -class NavigatorDoNotTrack : public Supplement<Navigator>, public DOMWindowProperty {
|
| +class NavigatorPointerEvents : public Supplement<Navigator>, public DOMWindowProperty {
|
| public:
|
| - virtual ~NavigatorDoNotTrack();
|
| - static NavigatorDoNotTrack* from(Navigator*);
|
| + virtual ~NavigatorPointerEvents();
|
| + static NavigatorPointerEvents* from(Navigator*);
|
|
|
| - static String doNotTrack(Navigator*);
|
| + static bool pointerEnabled(Navigator*);
|
| + static long maxTouchPoints(Navigator*);
|
|
|
| - String doNotTrack();
|
| + bool pointerEnabled();
|
| + long maxTouchPoints();
|
|
|
| private:
|
| - explicit NavigatorDoNotTrack(Frame*);
|
| + explicit NavigatorPointerEvents(Frame*);
|
| static const char* supplementName();
|
| };
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // NavigatorDoNotTrack_h
|
| +#endif // NavigatorPointerEvents_h
|
|
|