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 29 matching lines...) Expand all Loading... |
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" | 44 #include "core/events/ThreadLocalEventNames.h" |
45 #include "core/frame/DOMWindow.h" | 45 #include "core/frame/DOMWindow.h" |
46 #include "core/frame/FrameView.h" | 46 #include "core/frame/FrameView.h" |
47 #include "core/frame/LocalFrame.h" | 47 #include "core/frame/LocalFrame.h" |
48 #include "core/html/HTMLAreaElement.h" | 48 #include "core/html/HTMLAreaElement.h" |
49 #include "core/html/HTMLImageElement.h" | 49 #include "core/html/HTMLImageElement.h" |
50 #include "core/html/shadow/HTMLShadowElement.h" | 50 #include "core/html/HTMLShadowElement.h" |
51 #include "core/page/Chrome.h" | 51 #include "core/page/Chrome.h" |
52 #include "core/page/ChromeClient.h" | 52 #include "core/page/ChromeClient.h" |
53 #include "core/page/EventHandler.h" | 53 #include "core/page/EventHandler.h" |
54 #include "core/page/FrameTree.h" | 54 #include "core/page/FrameTree.h" |
55 #include "core/page/Page.h" | 55 #include "core/page/Page.h" |
56 #include "core/frame/Settings.h" | 56 #include "core/frame/Settings.h" |
57 #include "core/page/SpatialNavigation.h" | 57 #include "core/page/SpatialNavigation.h" |
58 #include "core/rendering/HitTestResult.h" | 58 #include "core/rendering/HitTestResult.h" |
59 #include "core/rendering/RenderLayer.h" | 59 #include "core/rendering/RenderLayer.h" |
60 | 60 |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); | 902 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); |
903 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); | 903 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); |
904 if (container && container->isDocumentNode()) | 904 if (container && container->isDocumentNode()) |
905 toDocument(container)->updateLayoutIgnorePendingStylesheets(); | 905 toDocument(container)->updateLayoutIgnorePendingStylesheets(); |
906 } while (!consumed && container); | 906 } while (!consumed && container); |
907 | 907 |
908 return consumed; | 908 return consumed; |
909 } | 909 } |
910 | 910 |
911 } // namespace WebCore | 911 } // namespace WebCore |
OLD | NEW |