| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "core/html/HTMLPlugInElement.h" | 48 #include "core/html/HTMLPlugInElement.h" |
| 49 #include "core/html/HTMLShadowElement.h" | 49 #include "core/html/HTMLShadowElement.h" |
| 50 #include "core/html/HTMLTextFormControlElement.h" | 50 #include "core/html/HTMLTextFormControlElement.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/layout/HitTestResult.h" | 57 #include "core/layout/HitTestResult.h" |
| 58 #include "core/layout/Layer.h" |
| 58 #include "core/page/SpatialNavigation.h" | 59 #include "core/page/SpatialNavigation.h" |
| 59 #include "core/rendering/RenderLayer.h" | |
| 60 #include <limits> | 60 #include <limits> |
| 61 | 61 |
| 62 namespace blink { | 62 namespace blink { |
| 63 | 63 |
| 64 using namespace HTMLNames; | 64 using namespace HTMLNames; |
| 65 | 65 |
| 66 static inline bool isShadowInsertionPointFocusScopeOwner(Node& node) | 66 static inline bool isShadowInsertionPointFocusScopeOwner(Node& node) |
| 67 { | 67 { |
| 68 return isActiveShadowInsertionPoint(node) && toHTMLShadowElement(node).older
ShadowRoot(); | 68 return isActiveShadowInsertionPoint(node) && toHTMLShadowElement(node).older
ShadowRoot(); |
| 69 } | 69 } |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 return consumed; | 941 return consumed; |
| 942 } | 942 } |
| 943 | 943 |
| 944 void FocusController::trace(Visitor* visitor) | 944 void FocusController::trace(Visitor* visitor) |
| 945 { | 945 { |
| 946 visitor->trace(m_page); | 946 visitor->trace(m_page); |
| 947 visitor->trace(m_focusedFrame); | 947 visitor->trace(m_focusedFrame); |
| 948 } | 948 } |
| 949 | 949 |
| 950 } // namespace blink | 950 } // namespace blink |
| OLD | NEW |