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

Side by Side Diff: sky/engine/core/dom/Document.h

Issue 683803006: Remove all writing mode function arguments and remove writing mode from RenderStyle. (Closed) Base URL: git@github.com:domokit/mojo.git@writingmode
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolverState.h ('k') | sky/engine/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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 487
488 // Decide which element is to define the viewport's overflow policy. If |roo tStyle| is set, use 488 // Decide which element is to define the viewport's overflow policy. If |roo tStyle| is set, use
489 // that as the style for the root element, rather than obtaining it on our o wn. The reason for 489 // that as the style for the root element, rather than obtaining it on our o wn. The reason for
490 // this is that style may not have been associated with the elements yet - i n which case it may 490 // this is that style may not have been associated with the elements yet - i n which case it may
491 // have been calculated on the fly (without associating it with the actual e lement) somewhere. 491 // have been calculated on the fly (without associating it with the actual e lement) somewhere.
492 Element* viewportDefiningElement(RenderStyle* rootStyle = 0) const; 492 Element* viewportDefiningElement(RenderStyle* rootStyle = 0) const;
493 493
494 DocumentMarkerController& markers() const { return *m_markers; } 494 DocumentMarkerController& markers() const { return *m_markers; }
495 495
496 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument Element; } 496 bool directionSetOnDocumentElement() const { return m_directionSetOnDocument Element; }
497 bool writingModeSetOnDocumentElement() const { return m_writingModeSetOnDocu mentElement; }
498 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem ent = b; } 497 void setDirectionSetOnDocumentElement(bool b) { m_directionSetOnDocumentElem ent = b; }
499 void setWritingModeSetOnDocumentElement(bool b) { m_writingModeSetOnDocument Element = b; }
500 498
501 bool execCommand(const String& command, bool userInterface = false, const St ring& value = String()); 499 bool execCommand(const String& command, bool userInterface = false, const St ring& value = String());
502 bool queryCommandEnabled(const String& command); 500 bool queryCommandEnabled(const String& command);
503 bool queryCommandIndeterm(const String& command); 501 bool queryCommandIndeterm(const String& command);
504 bool queryCommandState(const String& command); 502 bool queryCommandState(const String& command);
505 bool queryCommandSupported(const String& command); 503 bool queryCommandSupported(const String& command);
506 String queryCommandValue(const String& command); 504 String queryCommandValue(const String& command);
507 505
508 KURL openSearchDescriptionURL(); 506 KURL openSearchDescriptionURL();
509 507
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 831
834 int m_loadEventDelayCount; 832 int m_loadEventDelayCount;
835 Timer<Document> m_loadEventDelayTimer; 833 Timer<Document> m_loadEventDelayTimer;
836 834
837 Length m_viewportDefaultMinWidth; 835 Length m_viewportDefaultMinWidth;
838 836
839 bool m_didSetReferrerPolicy; 837 bool m_didSetReferrerPolicy;
840 ReferrerPolicy m_referrerPolicy; 838 ReferrerPolicy m_referrerPolicy;
841 839
842 bool m_directionSetOnDocumentElement; 840 bool m_directionSetOnDocumentElement;
843 bool m_writingModeSetOnDocumentElement;
844 841
845 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher; 842 RefPtr<MediaQueryMatcher> m_mediaQueryMatcher;
846 843
847 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 844 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
848 845
849 RefPtr<CustomElementRegistrationContext> m_registrationContext; 846 RefPtr<CustomElementRegistrationContext> m_registrationContext;
850 RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue; 847 RefPtr<CustomElementMicrotaskRunQueue> m_customElementMicrotaskRunQueue;
851 848
852 void elementDataCacheClearTimerFired(Timer<Document>*); 849 void elementDataCacheClearTimerFired(Timer<Document>*);
853 Timer<Document> m_elementDataCacheClearTimer; 850 Timer<Document> m_elementDataCacheClearTimer;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 Node* eventTargetNodeForDocument(Document*); 902 Node* eventTargetNodeForDocument(Document*);
906 903
907 } // namespace blink 904 } // namespace blink
908 905
909 #ifndef NDEBUG 906 #ifndef NDEBUG
910 // Outside the WebCore namespace for ease of invocation from gdb. 907 // Outside the WebCore namespace for ease of invocation from gdb.
911 void showLiveDocumentInstances(); 908 void showLiveDocumentInstances();
912 #endif 909 #endif
913 910
914 #endif // Document_h 911 #endif // Document_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolverState.h ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698