Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: Source/core/dom/Document.h

Issue 298133003: Expose fractional TouchEvent coordinates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make layout test output stable across platforms Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 void exitPointerLock(); 946 void exitPointerLock();
947 Element* pointerLockElement() const; 947 Element* pointerLockElement() const;
948 948
949 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 949 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
950 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 950 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
951 void decrementLoadEventDelayCount(); 951 void decrementLoadEventDelayCount();
952 void checkLoadEventSoon(); 952 void checkLoadEventSoon();
953 bool isDelayingLoadEvent(); 953 bool isDelayingLoadEvent();
954 void loadPluginsSoon(); 954 void loadPluginsSoon();
955 955
956 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden tifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY , float rotationAngle, float force) const; 956 PassRefPtrWillBeRawPtr<Touch> createTouch(DOMWindow*, EventTarget*, int iden tifier, double pageX, double pageY, double screenX, double screenY, double radiu sX, double radiusY, float rotationAngle, float force) const;
957 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch> >&) const; 957 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch> >&) const;
958 958
959 const DocumentTiming& timing() const { return m_documentTiming; } 959 const DocumentTiming& timing() const { return m_documentTiming; }
960 960
961 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); 961 int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>);
962 void cancelAnimationFrame(int id); 962 void cancelAnimationFrame(int id);
963 void serviceScriptedAnimations(double monotonicAnimationStartTime); 963 void serviceScriptedAnimations(double monotonicAnimationStartTime);
964 964
965 virtual EventTarget* errorEventTarget() OVERRIDE FINAL; 965 virtual EventTarget* errorEventTarget() OVERRIDE FINAL;
966 virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) OVERR IDE FINAL; 966 virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) OVERR IDE FINAL;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 inline bool Node::isDocumentNode() const 1456 inline bool Node::isDocumentNode() const
1457 { 1457 {
1458 return this == document(); 1458 return this == document();
1459 } 1459 }
1460 1460
1461 Node* eventTargetNodeForDocument(Document*); 1461 Node* eventTargetNodeForDocument(Document*);
1462 1462
1463 } // namespace WebCore 1463 } // namespace WebCore
1464 1464
1465 #endif // Document_h 1465 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698