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

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

Issue 2618323004: Don't force-update style and layout in Document::scrollingElement (Closed)
Patch Set: none Created 3 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
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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 Node* importNode(Node* importedNode, bool deep, ExceptionState&); 337 Node* importNode(Node* importedNode, bool deep, ExceptionState&);
338 Element* createElementNS(const AtomicString& namespaceURI, 338 Element* createElementNS(const AtomicString& namespaceURI,
339 const AtomicString& qualifiedName, 339 const AtomicString& qualifiedName,
340 ExceptionState&); 340 ExceptionState&);
341 Element* createElement(const QualifiedName&, CreateElementFlags); 341 Element* createElement(const QualifiedName&, CreateElementFlags);
342 342
343 Element* elementFromPoint(int x, int y) const; 343 Element* elementFromPoint(int x, int y) const;
344 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const; 344 HeapVector<Member<Element>> elementsFromPoint(int x, int y) const;
345 Range* caretRangeFromPoint(int x, int y); 345 Range* caretRangeFromPoint(int x, int y);
346 Element* scrollingElement(); 346 Element* scrollingElement();
347 // When calling from C++ code, use this method. scrollingElement() is
348 // just for the web IDL implementation.
349 Element* scrollingElementInternal();
wkorman 2017/01/11 03:56:39 Wondering if there is a better name, since isn't u
chrishtr 2017/01/11 04:09:09 Done.
347 350
348 void addStyleReattachData(Node&, StyleReattachData&); 351 void addStyleReattachData(Node&, StyleReattachData&);
349 StyleReattachData getStyleReattachData(Node&); 352 StyleReattachData getStyleReattachData(Node&);
350 353
351 String readyState() const; 354 String readyState() const;
352 355
353 AtomicString characterSet() const { return Document::encodingName(); } 356 AtomicString characterSet() const { return Document::encodingName(); }
354 357
355 AtomicString encodingName() const; 358 AtomicString encodingName() const;
356 359
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1719 1722
1720 } // namespace blink 1723 } // namespace blink
1721 1724
1722 #ifndef NDEBUG 1725 #ifndef NDEBUG
1723 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1724 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1725 #endif 1728 #endif
1726 1729
1727 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698