| 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 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 consumed = advanceFocusDirectionallyInContainer(container, startingRect,
type); | 997 consumed = advanceFocusDirectionallyInContainer(container, startingRect,
type); |
| 998 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); | 998 startingRect = nodeRectInAbsoluteCoordinates(container, true /* ignore b
order */); |
| 999 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); | 999 container = scrollableEnclosingBoxOrParentFrameForNodeInDirection(type,
container); |
| 1000 if (container && container->isDocumentNode()) | 1000 if (container && container->isDocumentNode()) |
| 1001 toDocument(container)->updateLayoutIgnorePendingStylesheets(); | 1001 toDocument(container)->updateLayoutIgnorePendingStylesheets(); |
| 1002 } while (!consumed && container); | 1002 } while (!consumed && container); |
| 1003 | 1003 |
| 1004 return consumed; | 1004 return consumed; |
| 1005 } | 1005 } |
| 1006 | 1006 |
| 1007 void FocusController::trace(Visitor* visitor) | 1007 DEFINE_TRACE(FocusController) |
| 1008 { | 1008 { |
| 1009 visitor->trace(m_page); | 1009 visitor->trace(m_page); |
| 1010 visitor->trace(m_focusedFrame); | 1010 visitor->trace(m_focusedFrame); |
| 1011 } | 1011 } |
| 1012 | 1012 |
| 1013 } // namespace blink | 1013 } // namespace blink |
| OLD | NEW |