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

Side by Side Diff: sky/engine/core/dom/TreeScope.cpp

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « sky/engine/core/dom/StyleEngine.cpp ('k') | sky/engine/core/dom/shadow/ComposedTreeWalker.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 22 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « sky/engine/core/dom/StyleEngine.cpp ('k') | sky/engine/core/dom/shadow/ComposedTreeWalker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698