OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Nuanti Ltd. | 3 * Copyright (C) 2008 Nuanti Ltd. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/dom/Element.h" | 34 #include "core/dom/Element.h" |
35 #include "core/dom/ElementTraversal.h" | 35 #include "core/dom/ElementTraversal.h" |
36 #include "core/dom/NodeTraversal.h" | 36 #include "core/dom/NodeTraversal.h" |
37 #include "core/dom/Range.h" | 37 #include "core/dom/Range.h" |
38 #include "core/dom/shadow/ElementShadow.h" | 38 #include "core/dom/shadow/ElementShadow.h" |
39 #include "core/dom/shadow/ShadowRoot.h" | 39 #include "core/dom/shadow/ShadowRoot.h" |
40 #include "core/editing/Editor.h" | 40 #include "core/editing/Editor.h" |
41 #include "core/editing/FrameSelection.h" | 41 #include "core/editing/FrameSelection.h" |
42 #include "core/editing/htmlediting.h" // For firstPositionInOrBeforeNode | 42 #include "core/editing/htmlediting.h" // For firstPositionInOrBeforeNode |
43 #include "core/events/Event.h" | 43 #include "core/events/Event.h" |
44 #include "core/events/ThreadLocalEventNames.h" | |
45 #include "core/frame/DOMWindow.h" | 44 #include "core/frame/DOMWindow.h" |
46 #include "core/frame/FrameView.h" | 45 #include "core/frame/FrameView.h" |
47 #include "core/frame/LocalFrame.h" | 46 #include "core/frame/LocalFrame.h" |
48 #include "core/html/HTMLAreaElement.h" | 47 #include "core/html/HTMLAreaElement.h" |
49 #include "core/html/HTMLImageElement.h" | 48 #include "core/html/HTMLImageElement.h" |
50 #include "core/html/HTMLPlugInElement.h" | 49 #include "core/html/HTMLPlugInElement.h" |
51 #include "core/html/HTMLShadowElement.h" | 50 #include "core/html/HTMLShadowElement.h" |
52 #include "core/page/Chrome.h" | 51 #include "core/page/Chrome.h" |
53 #include "core/page/ChromeClient.h" | 52 #include "core/page/ChromeClient.h" |
54 #include "core/page/EventHandler.h" | 53 #include "core/page/EventHandler.h" |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); | 904 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); |
906 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); | 905 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); |
907 if (container && container->isDocumentNode()) | 906 if (container && container->isDocumentNode()) |
908 toDocument(container)->updateLayoutIgnorePendingStylesheets(); | 907 toDocument(container)->updateLayoutIgnorePendingStylesheets(); |
909 } while (!consumed && container); | 908 } while (!consumed && container); |
910 | 909 |
911 return consumed; | 910 return consumed; |
912 } | 911 } |
913 | 912 |
914 } // namespace WebCore | 913 } // namespace WebCore |
OLD | NEW |