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

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

Issue 279313003: Create Document exitPointerLock and pointerLockElement API methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; } 932 void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; }
933 933
934 void enqueueResizeEvent(); 934 void enqueueResizeEvent();
935 void enqueueScrollEventForNode(Node*); 935 void enqueueScrollEventForNode(Node*);
936 void enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>); 936 void enqueueAnimationFrameEvent(PassRefPtrWillBeRawPtr<Event>);
937 937
938 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; } 938 bool hasFullscreenElementStack() const { return m_hasFullscreenElementStack; }
939 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; } 939 void setHasFullscreenElementStack() { m_hasFullscreenElementStack = true; }
940 940
941 void webkitExitPointerLock(); 941 void webkitExitPointerLock();
942 void exitPointerLock();
942 Element* webkitPointerLockElement() const; 943 Element* webkitPointerLockElement() const;
944 Element* pointerLockElement() const;
943 945
944 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event. 946 // Used to allow element that loads data without going through a FrameLoader to delay the 'load' event.
945 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; } 947 void incrementLoadEventDelayCount() { ++m_loadEventDelayCount; }
946 void decrementLoadEventDelayCount(); 948 void decrementLoadEventDelayCount();
947 void checkLoadEventSoon(); 949 void checkLoadEventSoon();
948 bool isDelayingLoadEvent(); 950 bool isDelayingLoadEvent();
949 void loadPluginsSoon(); 951 void loadPluginsSoon();
950 952
951 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; 953 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;
952 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch> >&) const; 954 PassRefPtrWillBeRawPtr<TouchList> createTouchList(WillBeHeapVector<RefPtrWil lBeMember<Touch> >&) const;
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 inline bool Node::isDocumentNode() const 1450 inline bool Node::isDocumentNode() const
1449 { 1451 {
1450 return this == document(); 1452 return this == document();
1451 } 1453 }
1452 1454
1453 Node* eventTargetNodeForDocument(Document*); 1455 Node* eventTargetNodeForDocument(Document*);
1454 1456
1455 } // namespace WebCore 1457 } // namespace WebCore
1456 1458
1457 #endif // Document_h 1459 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698