| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "core/html/HTMLLabelElement.h" | 42 #include "core/html/HTMLLabelElement.h" |
| 43 #include "core/html/HTMLMapElement.h" | 43 #include "core/html/HTMLMapElement.h" |
| 44 #include "core/page/DOMSelection.h" | 44 #include "core/page/DOMSelection.h" |
| 45 #include "core/page/FocusController.h" | 45 #include "core/page/FocusController.h" |
| 46 #include "core/frame/Frame.h" | 46 #include "core/frame/Frame.h" |
| 47 #include "core/frame/FrameView.h" | 47 #include "core/frame/FrameView.h" |
| 48 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
| 49 #include "core/rendering/HitTestResult.h" | 49 #include "core/rendering/HitTestResult.h" |
| 50 #include "core/rendering/RenderView.h" | 50 #include "core/rendering/RenderView.h" |
| 51 #include "wtf/Vector.h" | 51 #include "wtf/Vector.h" |
| 52 #include "wtf/text/AtomicString.h" | |
| 53 | 52 |
| 54 namespace WebCore { | 53 namespace WebCore { |
| 55 | 54 |
| 56 struct SameSizeAsTreeScope { | 55 struct SameSizeAsTreeScope { |
| 57 virtual ~SameSizeAsTreeScope(); | 56 virtual ~SameSizeAsTreeScope(); |
| 58 void* pointers[8]; | 57 void* pointers[8]; |
| 59 int ints[1]; | 58 int ints[1]; |
| 60 }; | 59 }; |
| 61 | 60 |
| 62 COMPILE_ASSERT(sizeof(TreeScope) == sizeof(SameSizeAsTreeScope), treescope_shoul
d_stay_small); | 61 COMPILE_ASSERT(sizeof(TreeScope) == sizeof(SameSizeAsTreeScope), treescope_shoul
d_stay_small); |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 result = element; | 492 result = element; |
| 494 for (ShadowRoot* shadowRoot = element->youngestShadowRoot(); shadowRoot;
shadowRoot = shadowRoot->olderShadowRoot()) { | 493 for (ShadowRoot* shadowRoot = element->youngestShadowRoot(); shadowRoot;
shadowRoot = shadowRoot->olderShadowRoot()) { |
| 495 if (Element* shadowResult = shadowRoot->getElementByAccessKey(key)) | 494 if (Element* shadowResult = shadowRoot->getElementByAccessKey(key)) |
| 496 result = shadowResult; | 495 result = shadowResult; |
| 497 } | 496 } |
| 498 } | 497 } |
| 499 return result; | 498 return result; |
| 500 } | 499 } |
| 501 | 500 |
| 502 } // namespace WebCore | 501 } // namespace WebCore |
| OLD | NEW |