Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: Source/core/dom/TreeScope.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/TagNodeList.cpp ('k') | Source/core/dom/TreeWalker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/dom/TagNodeList.cpp ('k') | Source/core/dom/TreeWalker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698