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

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

Issue 87503003: Moving fontSelector from StyleResolver to StyleEngine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reverted hasAnyFontFaceRule 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "wtf/PassOwnPtr.h" 57 #include "wtf/PassOwnPtr.h"
58 #include "wtf/PassRefPtr.h" 58 #include "wtf/PassRefPtr.h"
59 #include "wtf/WeakPtr.h" 59 #include "wtf/WeakPtr.h"
60 60
61 namespace WebCore { 61 namespace WebCore {
62 62
63 class AXObjectCache; 63 class AXObjectCache;
64 class AnimationClock; 64 class AnimationClock;
65 class Attr; 65 class Attr;
66 class CDATASection; 66 class CDATASection;
67 class CSSFontSelector;
67 class CSSStyleDeclaration; 68 class CSSStyleDeclaration;
68 class CSSStyleSheet; 69 class CSSStyleSheet;
69 class CSSStyleSheetResource; 70 class CSSStyleSheetResource;
70 class CanvasRenderingContext; 71 class CanvasRenderingContext;
71 class CharacterData; 72 class CharacterData;
72 class Chrome; 73 class Chrome;
73 class Comment; 74 class Comment;
74 class ContentSecurityPolicyResponseHeaders; 75 class ContentSecurityPolicyResponseHeaders;
75 class ContextFeatures; 76 class ContextFeatures;
76 class CustomElementRegistrationContext; 77 class CustomElementRegistrationContext;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 384
384 bool hasSVGRootNode() const; 385 bool hasSVGRootNode() const;
385 386
386 bool isFrameSet() const; 387 bool isFrameSet() const;
387 388
388 bool isSrcdocDocument() const { return m_isSrcdocDocument; } 389 bool isSrcdocDocument() const { return m_isSrcdocDocument; }
389 bool isMobileDocument() const { return m_isMobileDocument; } 390 bool isMobileDocument() const { return m_isMobileDocument; }
390 391
391 StyleResolver* styleResolverIfExists() const; 392 StyleResolver* styleResolverIfExists() const;
392 StyleResolver* styleResolver() const; 393 StyleResolver* styleResolver() const;
394 CSSFontSelector* fontSelector() const;
393 395
394 bool isViewSource() const { return m_isViewSource; } 396 bool isViewSource() const { return m_isViewSource; }
395 void setIsViewSource(bool); 397 void setIsViewSource(bool);
396 398
397 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 399 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
398 400
399 void notifyRemovePendingSheetIfNeeded(); 401 void notifyRemovePendingSheetIfNeeded();
400 402
401 bool haveStylesheetsLoaded() const; 403 bool haveStylesheetsLoaded() const;
402 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } 404 bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 inline bool Node::isDocumentNode() const 1361 inline bool Node::isDocumentNode() const
1360 { 1362 {
1361 return this == documentInternal(); 1363 return this == documentInternal();
1362 } 1364 }
1363 1365
1364 Node* eventTargetNodeForDocument(Document*); 1366 Node* eventTargetNodeForDocument(Document*);
1365 1367
1366 } // namespace WebCore 1368 } // namespace WebCore
1367 1369
1368 #endif // Document_h 1370 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698