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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockchange); 270 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockchange);
271 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockerror); 271 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpointerlockerror);
272 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 272 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
273 273
274 bool shouldMergeWithLegacyDescription(ViewportDescription::Type); 274 bool shouldMergeWithLegacyDescription(ViewportDescription::Type);
275 bool shouldOverrideLegacyDescription(ViewportDescription::Type); 275 bool shouldOverrideLegacyDescription(ViewportDescription::Type);
276 void setViewportDescription(const ViewportDescription&); 276 void setViewportDescription(const ViewportDescription&);
277 const ViewportDescription& viewportDescription() const { return m_viewportDe scription; } 277 const ViewportDescription& viewportDescription() const { return m_viewportDe scription; }
278 Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; } 278 Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; }
279 279
280 #ifndef NDEBUG
281 bool didDispatchViewportPropertiesChanged() const { return m_didDispatchView portPropertiesChanged; }
Ken Russell (switch to Gerrit) 2014/07/15 23:25:34 This method was unreferenced.
282 #endif
283 bool hasLegacyViewportTag() const { return m_legacyViewportDescription.isLeg acyViewportType(); } 280 bool hasLegacyViewportTag() const { return m_legacyViewportDescription.isLeg acyViewportType(); }
284 281
285 void setReferrerPolicy(ReferrerPolicy); 282 void setReferrerPolicy(ReferrerPolicy);
286 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; } 283 ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; }
287 284
288 String outgoingReferrer(); 285 String outgoingReferrer();
289 String outgoingOrigin() const; 286 String outgoingOrigin() const;
290 287
291 void setDoctype(PassRefPtrWillBeRawPtr<DocumentType>); 288 void setDoctype(PassRefPtrWillBeRawPtr<DocumentType>);
292 DocumentType* doctype() const { return m_docType.get(); } 289 DocumentType* doctype() const { return m_docType.get(); }
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 OwnPtr<FastTextAutosizer> m_fastTextAutosizer; 1352 OwnPtr<FastTextAutosizer> m_fastTextAutosizer;
1356 1353
1357 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext; 1354 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext;
1358 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR unQueue; 1355 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR unQueue;
1359 1356
1360 void elementDataCacheClearTimerFired(Timer<Document>*); 1357 void elementDataCacheClearTimerFired(Timer<Document>*);
1361 Timer<Document> m_elementDataCacheClearTimer; 1358 Timer<Document> m_elementDataCacheClearTimer;
1362 1359
1363 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache; 1360 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache;
1364 1361
1365 #ifndef NDEBUG
1366 bool m_didDispatchViewportPropertiesChanged;
1367 #endif
1368
1369 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1362 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
1370 LocaleIdentifierToLocaleMap m_localeCache; 1363 LocaleIdentifierToLocaleMap m_localeCache;
1371 1364
1372 AnimationClock m_animationClock; 1365 AnimationClock m_animationClock;
1373 RefPtrWillBeMember<AnimationTimeline> m_timeline; 1366 RefPtrWillBeMember<AnimationTimeline> m_timeline;
1374 CompositorPendingAnimations m_compositorPendingAnimations; 1367 CompositorPendingAnimations m_compositorPendingAnimations;
1375 1368
1376 RefPtrWillBeMember<Document> m_templateDocument; 1369 RefPtrWillBeMember<Document> m_templateDocument;
1377 // With Oilpan the templateDocument and the templateDocumentHost 1370 // With Oilpan the templateDocument and the templateDocumentHost
1378 // live and die together. Without Oilpan, the templateDocumentHost 1371 // live and die together. Without Oilpan, the templateDocumentHost
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 Node* eventTargetNodeForDocument(Document*); 1423 Node* eventTargetNodeForDocument(Document*);
1431 1424
1432 } // namespace WebCore 1425 } // namespace WebCore
1433 1426
1434 #ifndef NDEBUG 1427 #ifndef NDEBUG
1435 // Outside the WebCore namespace for ease of invocation from gdb. 1428 // Outside the WebCore namespace for ease of invocation from gdb.
1436 void showLiveDocumentInstances(); 1429 void showLiveDocumentInstances();
1437 #endif 1430 #endif
1438 1431
1439 #endif // Document_h 1432 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698