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

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

Issue 18601002: Add infrastructure for partial layouts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: define RenderObject::frameView in the header Created 7 years, 3 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/core.gypi ('k') | Source/core/dom/Document.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 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration(); 484 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration();
485 PassRefPtr<Text> createEditingTextNode(const String&); 485 PassRefPtr<Text> createEditingTextNode(const String&);
486 486
487 void setStyleDependentState(RenderStyle* documentStyle); 487 void setStyleDependentState(RenderStyle* documentStyle);
488 void inheritHtmlAndBodyElementStyles(StyleChange); 488 void inheritHtmlAndBodyElementStyles(StyleChange);
489 void recalcStyle(StyleChange = NoChange); 489 void recalcStyle(StyleChange = NoChange);
490 void updateStyleIfNeeded(); 490 void updateStyleIfNeeded();
491 void updateStyleForNodeIfNeeded(Node*); 491 void updateStyleForNodeIfNeeded(Node*);
492 void updateLayout(); 492 void updateLayout();
493 void updateLayoutIgnorePendingStylesheets(); 493 void updateLayoutIgnorePendingStylesheets();
494 void partialUpdateLayoutIgnorePendingStylesheets(Node*);
494 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); 495 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*);
495 PassRefPtr<RenderStyle> styleForPage(int pageIndex); 496 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
496 497
497 void updateDistributionForNodeIfNeeded(Node*); 498 void updateDistributionForNodeIfNeeded(Node*);
498 499
499 // Returns true if page box (margin boxes and page borders) is visible. 500 // Returns true if page box (margin boxes and page borders) is visible.
500 bool isPageBoxVisible(int pageIndex); 501 bool isPageBoxVisible(int pageIndex);
501 502
502 // Returns the preferred page size and margins in pixels, assuming 96 503 // Returns the preferred page size and margins in pixels, assuming 96
503 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, 504 // pixels per inch. pageSize, marginTop, marginRight, marginBottom,
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 void updateTitle(const String&); 1117 void updateTitle(const String&);
1117 void updateFocusAppearanceTimerFired(Timer<Document>*); 1118 void updateFocusAppearanceTimerFired(Timer<Document>*);
1118 void updateBaseURL(); 1119 void updateBaseURL();
1119 1120
1120 void createStyleResolver(); 1121 void createStyleResolver();
1121 1122
1122 void executeScriptsWaitingForResourcesIfNeeded(); 1123 void executeScriptsWaitingForResourcesIfNeeded();
1123 1124
1124 void seamlessParentUpdatedStylesheets(); 1125 void seamlessParentUpdatedStylesheets();
1125 1126
1127 void recalcStyleForLayoutIgnoringPendingStylesheets();
1128
1126 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const; 1129 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult& ) const;
1127 1130
1128 void loadEventDelayTimerFired(Timer<Document>*); 1131 void loadEventDelayTimerFired(Timer<Document>*);
1129 1132
1130 void pendingTasksTimerFired(Timer<Document>*); 1133 void pendingTasksTimerFired(Timer<Document>*);
1131 1134
1132 static void didReceiveTask(void*); 1135 static void didReceiveTask(void*);
1133 1136
1134 template <typename CharacterType> 1137 template <typename CharacterType>
1135 void displayBufferModifiedByEncodingInternal(CharacterType*, unsigned) const ; 1138 void displayBufferModifiedByEncodingInternal(CharacterType*, unsigned) const ;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 inline bool Node::isDocumentNode() const 1437 inline bool Node::isDocumentNode() const
1435 { 1438 {
1436 return this == documentInternal(); 1439 return this == documentInternal();
1437 } 1440 }
1438 1441
1439 Node* eventTargetNodeForDocument(Document*); 1442 Node* eventTargetNodeForDocument(Document*);
1440 1443
1441 } // namespace WebCore 1444 } // namespace WebCore
1442 1445
1443 #endif // Document_h 1446 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698