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: Reset when Settings is changed 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 bool hasSVGRootNode() const; 387 bool hasSVGRootNode() const;
388 388
389 bool isFrameSet() const; 389 bool isFrameSet() const;
390 390
391 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 391 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
392 bool isMobileDocument() const { return m_isMobileDocument; } 392 bool isMobileDocument() const { return m_isMobileDocument; }
393 393
394 StyleResolver* styleResolver() const; 394 StyleResolver* styleResolver() const;
395 StyleResolver& ensureStyleResolver() const; 395 StyleResolver& ensureStyleResolver() const;
396 CSSFontSelector* fontSelector() const;
396 397
397 bool isViewSource() const { return m_isViewSource; } 398 bool isViewSource() const { return m_isViewSource; }
398 void setIsViewSource(bool); 399 void setIsViewSource(bool);
399 400
400 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 401 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
401 402
402 void notifyRemovePendingSheetIfNeeded(); 403 void notifyRemovePendingSheetIfNeeded();
403 404
404 bool haveStylesheetsLoaded() const; 405 bool haveStylesheetsLoaded() const;
405 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } 406 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
(...skipping 957 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