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

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

Issue 131403008: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/StyleSheetContents.cpp ('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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 389
390 bool hasSVGRootNode() const; 390 bool hasSVGRootNode() const;
391 391
392 bool isFrameSet() const; 392 bool isFrameSet() const;
393 393
394 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 394 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
395 bool isMobileDocument() const { return m_isMobileDocument; } 395 bool isMobileDocument() const { return m_isMobileDocument; }
396 396
397 StyleResolver* styleResolver() const; 397 StyleResolver* styleResolver() const;
398 StyleResolver& ensureStyleResolver() const; 398 StyleResolver& ensureStyleResolver() const;
399 CSSFontSelector* fontSelector() const;
400 399
401 bool isViewSource() const { return m_isViewSource; } 400 bool isViewSource() const { return m_isViewSource; }
402 void setIsViewSource(bool); 401 void setIsViewSource(bool);
403 402
404 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 403 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
405 404
406 void notifyRemovePendingSheetIfNeeded(); 405 void notifyRemovePendingSheetIfNeeded();
407 406
408 bool haveStylesheetsLoaded() const; 407 bool haveStylesheetsLoaded() const;
409 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } 408 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 inline bool Node::isDocumentNode() const 1350 inline bool Node::isDocumentNode() const
1352 { 1351 {
1353 return this == document(); 1352 return this == document();
1354 } 1353 }
1355 1354
1356 Node* eventTargetNodeForDocument(Document*); 1355 Node* eventTargetNodeForDocument(Document*);
1357 1356
1358 } // namespace WebCore 1357 } // namespace WebCore
1359 1358
1360 #endif // Document_h 1359 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleSheetContents.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698