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

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: Use isInTreeScope() instead of isInDocument() 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
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 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 inline bool Node::isDocumentNode() const 1434 inline bool Node::isDocumentNode() const
1434 { 1435 {
1435 return this == document(); 1436 return this == document();
1436 } 1437 }
1437 1438
1438 Node* eventTargetNodeForDocument(Document*); 1439 Node* eventTargetNodeForDocument(Document*);
1439 1440
1440 } // namespace WebCore 1441 } // namespace WebCore
1441 1442
1442 #endif // Document_h 1443 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698