| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. |
| 3 * Copyright (C) 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 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 22 matching lines...) Expand all Loading... |
| 33 #include "sky/engine/core/dom/Element.h" | 33 #include "sky/engine/core/dom/Element.h" |
| 34 #include "sky/engine/core/dom/ElementTraversal.h" | 34 #include "sky/engine/core/dom/ElementTraversal.h" |
| 35 #include "sky/engine/core/dom/NodeRenderStyle.h" | 35 #include "sky/engine/core/dom/NodeRenderStyle.h" |
| 36 #include "sky/engine/core/dom/TreeScopeAdopter.h" | 36 #include "sky/engine/core/dom/TreeScopeAdopter.h" |
| 37 #include "sky/engine/core/dom/shadow/ElementShadow.h" | 37 #include "sky/engine/core/dom/shadow/ElementShadow.h" |
| 38 #include "sky/engine/core/dom/shadow/ShadowRoot.h" | 38 #include "sky/engine/core/dom/shadow/ShadowRoot.h" |
| 39 #include "sky/engine/core/editing/DOMSelection.h" | 39 #include "sky/engine/core/editing/DOMSelection.h" |
| 40 #include "sky/engine/core/events/EventPath.h" | 40 #include "sky/engine/core/events/EventPath.h" |
| 41 #include "sky/engine/core/frame/FrameView.h" | 41 #include "sky/engine/core/frame/FrameView.h" |
| 42 #include "sky/engine/core/frame/LocalFrame.h" | 42 #include "sky/engine/core/frame/LocalFrame.h" |
| 43 #include "sky/engine/core/html/HTMLAnchorElement.h" | |
| 44 #include "sky/engine/core/page/FocusController.h" | 43 #include "sky/engine/core/page/FocusController.h" |
| 45 #include "sky/engine/core/page/Page.h" | 44 #include "sky/engine/core/page/Page.h" |
| 46 #include "sky/engine/core/rendering/HitTestResult.h" | 45 #include "sky/engine/core/rendering/HitTestResult.h" |
| 47 #include "sky/engine/core/rendering/RenderView.h" | 46 #include "sky/engine/core/rendering/RenderView.h" |
| 48 #include "sky/engine/wtf/Vector.h" | 47 #include "sky/engine/wtf/Vector.h" |
| 49 | 48 |
| 50 namespace blink { | 49 namespace blink { |
| 51 | 50 |
| 52 TreeScope::TreeScope(ContainerNode& rootNode, Document& document) | 51 TreeScope::TreeScope(ContainerNode& rootNode, Document& document) |
| 53 : m_rootNode(&rootNode) | 52 : m_rootNode(&rootNode) |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 | 389 |
| 391 for (size_t i = 0; i < list.size(); i++) { | 390 for (size_t i = 0; i < list.size(); i++) { |
| 392 if (list[i]->contents() != otherList[i]->contents()) | 391 if (list[i]->contents() != otherList[i]->contents()) |
| 393 return false; | 392 return false; |
| 394 } | 393 } |
| 395 | 394 |
| 396 return true; | 395 return true; |
| 397 } | 396 } |
| 398 | 397 |
| 399 } // namespace blink | 398 } // namespace blink |
| OLD | NEW |