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

Side by Side Diff: Source/core/html/HTMLFrameOwnerElement.h

Issue 24045002: Remove some HTMLObjectElement logic from FrameLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « no previous file | Source/core/html/HTMLObjectElement.h » ('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) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 SVGDocument* getSVGDocument(ExceptionState&) const; 53 SVGDocument* getSVGDocument(ExceptionState&) const;
54 54
55 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; } 55 virtual ScrollbarMode scrollingMode() const { return ScrollbarAuto; }
56 56
57 SandboxFlags sandboxFlags() const { return m_sandboxFlags; } 57 SandboxFlags sandboxFlags() const { return m_sandboxFlags; }
58 58
59 virtual bool loadedNonEmptyDocument() const { return false; } 59 virtual bool loadedNonEmptyDocument() const { return false; }
60 virtual void didLoadNonEmptyDocument() { } 60 virtual void didLoadNonEmptyDocument() { }
61 61
62 virtual void renderFallbackContent() { }
63
64 virtual bool isObjectElement() const { return false; }
65
62 protected: 66 protected:
63 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); 67 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
64 void setSandboxFlags(SandboxFlags); 68 void setSandboxFlags(SandboxFlags);
65 69
66 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool lockBackForwardList); 70 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool lockBackForwardList);
67 71
68 private: 72 private:
69 virtual bool isKeyboardFocusable() const OVERRIDE; 73 virtual bool isKeyboardFocusable() const OVERRIDE;
70 virtual bool isFrameOwnerElement() const OVERRIDE { return true; } 74 virtual bool isFrameOwnerElement() const OVERRIDE { return true; }
71 75
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 DEFINE_STATIC_LOCAL(HashCountedSet<Node*>, nodes, ()); 111 DEFINE_STATIC_LOCAL(HashCountedSet<Node*>, nodes, ());
108 return nodes; 112 return nodes;
109 } 113 }
110 114
111 Node* m_root; 115 Node* m_root;
112 }; 116 };
113 117
114 } // namespace WebCore 118 } // namespace WebCore
115 119
116 #endif // HTMLFrameOwnerElement_h 120 #endif // HTMLFrameOwnerElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698