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

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

Issue 132613003: CSP 1.1: Remove the 'SecurityPolicy' interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/core.gypi ('k') | Source/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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class CSSStyleSheetResource; 71 class CSSStyleSheetResource;
72 class CanvasRenderingContext; 72 class CanvasRenderingContext;
73 class CharacterData; 73 class CharacterData;
74 class Chrome; 74 class Chrome;
75 class Comment; 75 class Comment;
76 class ContentSecurityPolicyResponseHeaders; 76 class ContentSecurityPolicyResponseHeaders;
77 class ContextFeatures; 77 class ContextFeatures;
78 class CustomElementRegistrationContext; 78 class CustomElementRegistrationContext;
79 class DOMImplementation; 79 class DOMImplementation;
80 class DOMNamedFlowCollection; 80 class DOMNamedFlowCollection;
81 class DOMSecurityPolicy;
82 class DOMSelection; 81 class DOMSelection;
83 class DOMWindow; 82 class DOMWindow;
84 class DOMWrapperWorld; 83 class DOMWrapperWorld;
85 class Database; 84 class Database;
86 class DatabaseThread; 85 class DatabaseThread;
87 class DocumentFragment; 86 class DocumentFragment;
88 class DocumentLifecycleNotifier; 87 class DocumentLifecycleNotifier;
89 class DocumentLifecycleObserver; 88 class DocumentLifecycleObserver;
90 class DocumentLoader; 89 class DocumentLoader;
91 class DocumentMarkerController; 90 class DocumentMarkerController;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 void setXMLVersion(const String&, ExceptionState&); 355 void setXMLVersion(const String&, ExceptionState&);
357 void setXMLStandalone(bool, ExceptionState&); 356 void setXMLStandalone(bool, ExceptionState&);
358 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; } 357 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; }
359 358
360 virtual KURL baseURI() const OVERRIDE FINAL; 359 virtual KURL baseURI() const OVERRIDE FINAL;
361 360
362 String visibilityState() const; 361 String visibilityState() const;
363 bool hidden() const; 362 bool hidden() const;
364 void dispatchVisibilityStateChangeEvent(); 363 void dispatchVisibilityStateChangeEvent();
365 364
366 DOMSecurityPolicy* securityPolicy();
367
368 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionState&); 365 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionState&);
369 366
370 PassRefPtr<HTMLCollection> images(); 367 PassRefPtr<HTMLCollection> images();
371 PassRefPtr<HTMLCollection> embeds(); 368 PassRefPtr<HTMLCollection> embeds();
372 PassRefPtr<HTMLCollection> applets(); 369 PassRefPtr<HTMLCollection> applets();
373 PassRefPtr<HTMLCollection> links(); 370 PassRefPtr<HTMLCollection> links();
374 PassRefPtr<HTMLCollection> forms(); 371 PassRefPtr<HTMLCollection> forms();
375 PassRefPtr<HTMLCollection> anchors(); 372 PassRefPtr<HTMLCollection> anchors();
376 PassRefPtr<HTMLCollection> scripts(); 373 PassRefPtr<HTMLCollection> scripts();
377 PassRefPtr<HTMLCollection> allForBinding(); 374 PassRefPtr<HTMLCollection> allForBinding();
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 1270
1274 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1271 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1275 OwnPtr<MainThreadTaskRunner> m_taskRunner; 1272 OwnPtr<MainThreadTaskRunner> m_taskRunner;
1276 OwnPtr<TextAutosizer> m_textAutosizer; 1273 OwnPtr<TextAutosizer> m_textAutosizer;
1277 OwnPtr<FastTextAutosizer> m_fastTextAutosizer; 1274 OwnPtr<FastTextAutosizer> m_fastTextAutosizer;
1278 1275
1279 RefPtr<CustomElementRegistrationContext> m_registrationContext; 1276 RefPtr<CustomElementRegistrationContext> m_registrationContext;
1280 1277
1281 RefPtr<NamedFlowCollection> m_namedFlows; 1278 RefPtr<NamedFlowCollection> m_namedFlows;
1282 1279
1283 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
1284
1285 void sharedObjectPoolClearTimerFired(Timer<Document>*); 1280 void sharedObjectPoolClearTimerFired(Timer<Document>*);
1286 Timer<Document> m_sharedObjectPoolClearTimer; 1281 Timer<Document> m_sharedObjectPoolClearTimer;
1287 1282
1288 OwnPtr<DocumentSharedObjectPool> m_sharedObjectPool; 1283 OwnPtr<DocumentSharedObjectPool> m_sharedObjectPool;
1289 1284
1290 #ifndef NDEBUG 1285 #ifndef NDEBUG
1291 bool m_didDispatchViewportPropertiesChanged; 1286 bool m_didDispatchViewportPropertiesChanged;
1292 #endif 1287 #endif
1293 1288
1294 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1289 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 inline bool Node::isDocumentNode() const 1345 inline bool Node::isDocumentNode() const
1351 { 1346 {
1352 return this == document(); 1347 return this == document();
1353 } 1348 }
1354 1349
1355 Node* eventTargetNodeForDocument(Document*); 1350 Node* eventTargetNodeForDocument(Document*);
1356 1351
1357 } // namespace WebCore 1352 } // namespace WebCore
1358 1353
1359 #endif // Document_h 1354 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698