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

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

Issue 871383002: Merge HTMLDocument into Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/Document.idl ('k') | sky/engine/core/fetch/CachingCorrectnessTest.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "sky/engine/core/dom/shadow/ShadowRoot.h" 63 #include "sky/engine/core/dom/shadow/ShadowRoot.h"
64 #include "sky/engine/core/editing/FrameSelection.h" 64 #include "sky/engine/core/editing/FrameSelection.h"
65 #include "sky/engine/core/editing/TextIterator.h" 65 #include "sky/engine/core/editing/TextIterator.h"
66 #include "sky/engine/core/editing/htmlediting.h" 66 #include "sky/engine/core/editing/htmlediting.h"
67 #include "sky/engine/core/events/EventDispatcher.h" 67 #include "sky/engine/core/events/EventDispatcher.h"
68 #include "sky/engine/core/events/FocusEvent.h" 68 #include "sky/engine/core/events/FocusEvent.h"
69 #include "sky/engine/core/frame/FrameView.h" 69 #include "sky/engine/core/frame/FrameView.h"
70 #include "sky/engine/core/frame/LocalFrame.h" 70 #include "sky/engine/core/frame/LocalFrame.h"
71 #include "sky/engine/core/frame/Settings.h" 71 #include "sky/engine/core/frame/Settings.h"
72 #include "sky/engine/core/html/HTMLCanvasElement.h" 72 #include "sky/engine/core/html/HTMLCanvasElement.h"
73 #include "sky/engine/core/html/HTMLDocument.h"
74 #include "sky/engine/core/html/HTMLElement.h" 73 #include "sky/engine/core/html/HTMLElement.h"
75 #include "sky/engine/core/html/HTMLTemplateElement.h" 74 #include "sky/engine/core/html/HTMLTemplateElement.h"
76 #include "sky/engine/core/html/parser/HTMLDocumentParser.h" 75 #include "sky/engine/core/html/parser/HTMLDocumentParser.h"
77 #include "sky/engine/core/html/parser/HTMLParserIdioms.h" 76 #include "sky/engine/core/html/parser/HTMLParserIdioms.h"
78 #include "sky/engine/core/page/Chrome.h" 77 #include "sky/engine/core/page/Chrome.h"
79 #include "sky/engine/core/page/ChromeClient.h" 78 #include "sky/engine/core/page/ChromeClient.h"
80 #include "sky/engine/core/page/FocusController.h" 79 #include "sky/engine/core/page/FocusController.h"
81 #include "sky/engine/core/page/Page.h" 80 #include "sky/engine/core/page/Page.h"
82 #include "sky/engine/core/rendering/RenderLayer.h" 81 #include "sky/engine/core/rendering/RenderLayer.h"
83 #include "sky/engine/core/rendering/RenderView.h" 82 #include "sky/engine/core/rendering/RenderView.h"
(...skipping 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1757 return false; 1756 return false;
1758 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue)) 1757 if (treeScope().scopedStyleResolver().hasSelectorForId(idValue))
1759 return true; 1758 return true;
1760 // Host rules could also have effects. 1759 // Host rules could also have effects.
1761 if (ShadowRoot* shadowRoot = this->shadowRoot()) 1760 if (ShadowRoot* shadowRoot = this->shadowRoot())
1762 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue); 1761 return shadowRoot->scopedStyleResolver().hasSelectorForId(idValue);
1763 return false; 1762 return false;
1764 } 1763 }
1765 1764
1766 } // namespace blink 1765 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.idl ('k') | sky/engine/core/fetch/CachingCorrectnessTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698