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

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

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a failing test. Created 7 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) 2013 Google Inc. All rights reserved. 9 * Copyright (C) 2013 Google Inc. All rights reserved.
10 * 10 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 explicit DocumentInit(const KURL& url = KURL(), Frame* frame = 0, HTMLImport * import = 0) 42 explicit DocumentInit(const KURL& url = KURL(), Frame* frame = 0, HTMLImport * import = 0)
43 : m_url(url) 43 : m_url(url)
44 , m_frame(frame) 44 , m_frame(frame)
45 , m_import(import) 45 , m_import(import)
46 { } 46 { }
47 47
48 const KURL& url() const { return m_url; } 48 const KURL& url() const { return m_url; }
49 Frame* frame() const { return m_frame; } 49 Frame* frame() const { return m_frame; }
50 HTMLImport* import() const { return m_import; } 50 HTMLImport* import() const { return m_import; }
51 51
52 bool hasSecurityContextSource() const;
abarth-chromium 2013/07/19 07:55:55 What does "source" mean here? Why not just "hasSe
52 bool shouldTreatURLAsSrcdocDocument() const; 53 bool shouldTreatURLAsSrcdocDocument() const;
53 bool shouldSetURL() const; 54 bool shouldSetURL() const;
54 SandboxFlags sandboxFlags() const; 55 SandboxFlags sandboxFlags() const;
55 56
56 Frame* ownerFrame() const; 57 Frame* ownerFrame() const;
57 Settings* settings() const; 58 Settings* settings() const;
58 59
59 private: 60 private:
61 Frame* contextSourceFrame() const;
62
60 KURL m_url; 63 KURL m_url;
61 Frame* m_frame; 64 Frame* m_frame;
62 HTMLImport* m_import; 65 HTMLImport* m_import;
63 }; 66 };
64 67
65 } // namespace WebCore 68 } // namespace WebCore
66 69
67 #endif // DocumentInit_h 70 #endif // DocumentInit_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698