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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added 2 layout tests Created 7 years 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 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;
399 400
400 bool isViewSource() const { return m_isViewSource; } 401 bool isViewSource() const { return m_isViewSource; }
401 void setIsViewSource(bool); 402 void setIsViewSource(bool);
402 403
403 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 404 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
404 405
405 void notifyRemovePendingSheetIfNeeded(); 406 void notifyRemovePendingSheetIfNeeded();
406 407
407 bool haveStylesheetsLoaded() const; 408 bool haveStylesheetsLoaded() const;
408 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } 409 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 inline bool Node::isDocumentNode() const 1364 inline bool Node::isDocumentNode() const
1364 { 1365 {
1365 return this == documentInternal(); 1366 return this == documentInternal();
1366 } 1367 }
1367 1368
1368 Node* eventTargetNodeForDocument(Document*); 1369 Node* eventTargetNodeForDocument(Document*);
1369 1370
1370 } // namespace WebCore 1371 } // namespace WebCore
1371 1372
1372 #endif // Document_h 1373 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698