OLD | NEW |
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, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 5636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5647 for (const Frame* frame = page->mainFrame(); frame; frame = frame->tree()->t
raverseNext()) { | 5647 for (const Frame* frame = page->mainFrame(); frame; frame = frame->tree()->t
raverseNext()) { |
5648 if (frame->document() && frame->document()->hasTouchEventHandlers()) | 5648 if (frame->document() && frame->document()->hasTouchEventHandlers()) |
5649 return; | 5649 return; |
5650 } | 5650 } |
5651 page->chrome()->client()->needTouchEvents(false); | 5651 page->chrome()->client()->needTouchEvents(false); |
5652 #else | 5652 #else |
5653 UNUSED_PARAM(handler); | 5653 UNUSED_PARAM(handler); |
5654 #endif | 5654 #endif |
5655 } | 5655 } |
5656 | 5656 |
5657 #if ENABLE(TOUCH_EVENT_TRACKING) | 5657 #if ENABLE(TOUCH_EVENTS) |
5658 void Document::didRemoveEventTargetNode(Node* handler) | 5658 void Document::didRemoveEventTargetNode(Node* handler) |
5659 { | 5659 { |
5660 if (m_touchEventTargets.get()) | 5660 if (m_touchEventTargets.get()) |
5661 m_touchEventTargets->removeAll(handler); | 5661 m_touchEventTargets->removeAll(handler); |
5662 } | 5662 } |
5663 #endif | 5663 #endif |
5664 | 5664 |
5665 HTMLIFrameElement* Document::seamlessParentIFrame() const | 5665 HTMLIFrameElement* Document::seamlessParentIFrame() const |
5666 { | 5666 { |
5667 if (!shouldDisplaySeamlesslyWithParent()) | 5667 if (!shouldDisplaySeamlesslyWithParent()) |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5971 m_templateContentsOwnerDocument = HTMLDocument::create(0, blankURL()
); | 5971 m_templateContentsOwnerDocument = HTMLDocument::create(0, blankURL()
); |
5972 else | 5972 else |
5973 m_templateContentsOwnerDocument = Document::create(0, blankURL()); | 5973 m_templateContentsOwnerDocument = Document::create(0, blankURL()); |
5974 } | 5974 } |
5975 | 5975 |
5976 return m_templateContentsOwnerDocument.get(); | 5976 return m_templateContentsOwnerDocument.get(); |
5977 } | 5977 } |
5978 #endif | 5978 #endif |
5979 | 5979 |
5980 } // namespace WebCore | 5980 } // namespace WebCore |
OLD | NEW |