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

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

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 months 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/StyledElement.cpp ('k') | Source/core/dom/UserActionElementSet.h » ('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 29 matching lines...) Expand all
40 #include "core/html/HTMLFrameOwnerElement.h" 40 #include "core/html/HTMLFrameOwnerElement.h"
41 #include "core/html/HTMLLabelElement.h" 41 #include "core/html/HTMLLabelElement.h"
42 #include "core/html/HTMLMapElement.h" 42 #include "core/html/HTMLMapElement.h"
43 #include "core/page/DOMSelection.h" 43 #include "core/page/DOMSelection.h"
44 #include "core/page/FocusController.h" 44 #include "core/page/FocusController.h"
45 #include "core/page/Frame.h" 45 #include "core/page/Frame.h"
46 #include "core/page/FrameView.h" 46 #include "core/page/FrameView.h"
47 #include "core/page/Page.h" 47 #include "core/page/Page.h"
48 #include "core/rendering/HitTestResult.h" 48 #include "core/rendering/HitTestResult.h"
49 #include "core/rendering/RenderView.h" 49 #include "core/rendering/RenderView.h"
50 #include <wtf/text/AtomicString.h> 50 #include "wtf/Vector.h"
51 #include <wtf/text/CString.h> 51 #include "wtf/text/AtomicString.h"
52 #include <wtf/Vector.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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 { 486 {
488 ASSERT(scope); 487 ASSERT(scope);
489 for (; scope; scope = scope->parentTreeScope()) { 488 for (; scope; scope = scope->parentTreeScope()) {
490 if (scope == this) 489 if (scope == this)
491 return true; 490 return true;
492 } 491 }
493 return false; 492 return false;
494 } 493 }
495 494
496 } // namespace WebCore 495 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/StyledElement.cpp ('k') | Source/core/dom/UserActionElementSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698