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

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

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/dom/Document.h ('k') | sky/engine/core/rendering/InlineFlowBox.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, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 , m_renderView(0) 310 , m_renderView(0)
311 #if !ENABLE(OILPAN) 311 #if !ENABLE(OILPAN)
312 , m_weakFactory(this) 312 , m_weakFactory(this)
313 #endif 313 #endif
314 , m_contextDocument(initializer.contextDocument()) 314 , m_contextDocument(initializer.contextDocument())
315 , m_loadEventDelayCount(0) 315 , m_loadEventDelayCount(0)
316 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired) 316 , m_loadEventDelayTimer(this, &Document::loadEventDelayTimerFired)
317 , m_didSetReferrerPolicy(false) 317 , m_didSetReferrerPolicy(false)
318 , m_referrerPolicy(ReferrerPolicyDefault) 318 , m_referrerPolicy(ReferrerPolicyDefault)
319 , m_directionSetOnDocumentElement(false) 319 , m_directionSetOnDocumentElement(false)
320 , m_writingModeSetOnDocumentElement(false)
321 , m_registrationContext(initializer.registrationContext(this)) 320 , m_registrationContext(initializer.registrationContext(this))
322 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 321 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
323 , m_timeline(AnimationTimeline::create(this)) 322 , m_timeline(AnimationTimeline::create(this))
324 , m_templateDocumentHost(nullptr) 323 , m_templateDocumentHost(nullptr)
325 , m_hasViewportUnits(false) 324 , m_hasViewportUnits(false)
326 , m_styleRecalcElementCounter(0) 325 , m_styleRecalcElementCounter(0)
327 { 326 {
328 setClient(this); 327 setClient(this);
329 ScriptWrappable::init(this); 328 ScriptWrappable::init(this);
330 329
(...skipping 2799 matching lines...) Expand 10 before | Expand all | Expand 10 after
3130 using namespace blink; 3129 using namespace blink;
3131 void showLiveDocumentInstances() 3130 void showLiveDocumentInstances()
3132 { 3131 {
3133 WeakDocumentSet& set = liveDocumentSet(); 3132 WeakDocumentSet& set = liveDocumentSet();
3134 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 3133 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
3135 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) { 3134 for (WeakDocumentSet::const_iterator it = set.begin(); it != set.end(); ++it ) {
3136 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data()); 3135 fprintf(stderr, "- Document %p URL: %s\n", *it, (*it)->url().string().ut f8().data());
3137 } 3136 }
3138 } 3137 }
3139 #endif 3138 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Document.h ('k') | sky/engine/core/rendering/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698