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

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

Issue 2607403002: Disallow setting invalid values for registered properties via CSSOM (Closed)
Patch Set: fix comments Created 3 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
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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 RootScrollerController& rootScrollerController() const { 1288 RootScrollerController& rootScrollerController() const {
1289 DCHECK(m_rootScrollerController); 1289 DCHECK(m_rootScrollerController);
1290 return *m_rootScrollerController; 1290 return *m_rootScrollerController;
1291 } 1291 }
1292 1292
1293 bool isInMainFrame() const; 1293 bool isInMainFrame() const;
1294 1294
1295 void maybeRecordLoadReason(WouldLoadReason); 1295 void maybeRecordLoadReason(WouldLoadReason);
1296 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; } 1296 WouldLoadReason wouldLoadReason() { return m_wouldLoadReason; }
1297 1297
1298 const PropertyRegistry* propertyRegistry() const;
1298 PropertyRegistry* propertyRegistry(); 1299 PropertyRegistry* propertyRegistry();
1299 1300
1300 // Indicates whether the user has interacted with this particular Document. 1301 // Indicates whether the user has interacted with this particular Document.
1301 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; } 1302 void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; }
1302 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } 1303 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; }
1303 1304
1304 // Document maintains a counter of visible non-secure password 1305 // Document maintains a counter of visible non-secure password
1305 // fields in the page. Used to notify the embedder when all visible 1306 // fields in the page. Used to notify the embedder when all visible
1306 // non-secure passwords fields are no longer visible. 1307 // non-secure passwords fields are no longer visible.
1307 void incrementPasswordCount(); 1308 void incrementPasswordCount();
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1719 1720
1720 } // namespace blink 1721 } // namespace blink
1721 1722
1722 #ifndef NDEBUG 1723 #ifndef NDEBUG
1723 // Outside the WebCore namespace for ease of invocation from gdb. 1724 // Outside the WebCore namespace for ease of invocation from gdb.
1724 CORE_EXPORT void showLiveDocumentInstances(); 1725 CORE_EXPORT void showLiveDocumentInstances();
1725 #endif 1726 #endif
1726 1727
1727 #endif // Document_h 1728 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698