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

Side by Side Diff: Source/core/dom/Document.h

Issue 251633002: Add support for DocumentFragment.getElementById() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createElement() calls Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/DocumentFragment.idl » ('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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 MediaQueryMatcher& mediaQueryMatcher(); 246 MediaQueryMatcher& mediaQueryMatcher();
247 247
248 void mediaQueryAffectingValueChanged(); 248 void mediaQueryAffectingValueChanged();
249 249
250 using ContainerNode::ref; 250 using ContainerNode::ref;
251 using ContainerNode::deref; 251 using ContainerNode::deref;
252 using SecurityContext::securityOrigin; 252 using SecurityContext::securityOrigin;
253 using SecurityContext::contentSecurityPolicy; 253 using SecurityContext::contentSecurityPolicy;
254 using ExecutionContextClient::addConsoleMessage; 254 using ExecutionContextClient::addConsoleMessage;
255 using TreeScope::getElementById;
255 256
256 virtual bool canContainRangeEndPoint() const OVERRIDE { return true; } 257 virtual bool canContainRangeEndPoint() const OVERRIDE { return true; }
257 258
258 SelectorQueryCache& selectorQueryCache(); 259 SelectorQueryCache& selectorQueryCache();
259 260
260 // Focus Management. 261 // Focus Management.
261 Element* activeElement() const; 262 Element* activeElement() const;
262 bool hasFocus() const; 263 bool hasFocus() const;
263 264
264 // DOM methods & attributes for Document 265 // DOM methods & attributes for Document
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 inline bool Node::isDocumentNode() const 1441 inline bool Node::isDocumentNode() const
1441 { 1442 {
1442 return this == document(); 1443 return this == document();
1443 } 1444 }
1444 1445
1445 Node* eventTargetNodeForDocument(Document*); 1446 Node* eventTargetNodeForDocument(Document*);
1446 1447
1447 } // namespace WebCore 1448 } // namespace WebCore
1448 1449
1449 #endif // Document_h 1450 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/DocumentFragment.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698