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

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: Modified resetFontSelector 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
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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 bool hasSVGRootNode() const; 389 bool hasSVGRootNode() const;
390 390
391 bool isFrameSet() const; 391 bool isFrameSet() const;
392 392
393 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 393 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
394 bool isMobileDocument() const { return m_isMobileDocument; } 394 bool isMobileDocument() const { return m_isMobileDocument; }
395 395
396 StyleResolver* styleResolver() const; 396 StyleResolver* styleResolver() const;
397 StyleResolver& ensureStyleResolver() const; 397 StyleResolver& ensureStyleResolver() const;
398 CSSFontSelector* fontSelector() const;
dglazkov 2014/01/23 19:15:06 Please remove this accessor. It's a simple plumb-t
tasak 2014/01/28 07:16:57 Done.
398 399
399 bool isViewSource() const { return m_isViewSource; } 400 bool isViewSource() const { return m_isViewSource; }
400 void setIsViewSource(bool); 401 void setIsViewSource(bool);
401 402
402 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 403 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
403 404
404 void notifyRemovePendingSheetIfNeeded(); 405 void notifyRemovePendingSheetIfNeeded();
405 406
406 bool haveStylesheetsLoaded() const; 407 bool haveStylesheetsLoaded() const;
407 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } 408 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 inline bool Node::isDocumentNode() const 1357 inline bool Node::isDocumentNode() const
1357 { 1358 {
1358 return this == document(); 1359 return this == document();
1359 } 1360 }
1360 1361
1361 Node* eventTargetNodeForDocument(Document*); 1362 Node* eventTargetNodeForDocument(Document*);
1362 1363
1363 } // namespace WebCore 1364 } // namespace WebCore
1364 1365
1365 #endif // Document_h 1366 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698