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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLObjectElement.h

Issue 2439903003: PlzNavigate: Allow frames to fallback to alternative content. (Closed)
Patch Set: Nit (+rebase) Created 4 years, 1 month 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 DECLARE_VIRTUAL_TRACE(); 48 DECLARE_VIRTUAL_TRACE();
49 49
50 const String& classId() const { return m_classId; } 50 const String& classId() const { return m_classId; }
51 51
52 HTMLFormElement* formOwner() const override; 52 HTMLFormElement* formOwner() const override;
53 53
54 bool containsJavaApplet() const; 54 bool containsJavaApplet() const;
55 55
56 bool hasFallbackContent() const override; 56 bool hasFallbackContent() const override;
57 bool useFallbackContent() const override; 57 bool useFallbackContent() const override;
58 bool canRenderFallbackContent() const override { return true; }
58 void renderFallbackContent() override; 59 void renderFallbackContent() override;
59 60
60 bool isFormControlElement() const override { return false; } 61 bool isFormControlElement() const override { return false; }
61 62
62 bool isEnumeratable() const override { return true; } 63 bool isEnumeratable() const override { return true; }
63 bool isInteractiveContent() const override; 64 bool isInteractiveContent() const override;
64 65
65 // Implementations of constraint validation API. 66 // Implementations of constraint validation API.
66 // Note that the object elements are always barred from constraint validation. 67 // Note that the object elements are always barred from constraint validation.
67 String validationMessage() const override { return String(); } 68 String validationMessage() const override { return String(); }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 static_cast<const HTMLObjectElement&>(element); 154 static_cast<const HTMLObjectElement&>(element);
154 // We need to assert after the cast because FormAssociatedElement doesn't 155 // We need to assert after the cast because FormAssociatedElement doesn't
155 // have hasTagName. 156 // have hasTagName.
156 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag)); 157 SECURITY_DCHECK(objectElement.hasTagName(HTMLNames::objectTag));
157 return objectElement; 158 return objectElement;
158 } 159 }
159 160
160 } // namespace blink 161 } // namespace blink
161 162
162 #endif // HTMLObjectElement_h 163 #endif // HTMLObjectElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698