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

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

Issue 1901403002: Remove UserAgent ShadowRoot + Author ShadowRoot code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Element::createShadowRoot, update some tests Created 4 years, 8 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 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed.
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void attach(const AttachContext& = AttachContext()) final; 109 void attach(const AttachContext& = AttachContext()) final;
110 void detach(const AttachContext& = AttachContext()) final; 110 void detach(const AttachContext& = AttachContext()) final;
111 void finishParsingChildren() final; 111 void finishParsingChildren() final;
112 112
113 // Element functions: 113 // Element functions:
114 LayoutObject* createLayoutObject(const ComputedStyle&) override; 114 LayoutObject* createLayoutObject(const ComputedStyle&) override;
115 bool supportsFocus() const final { return true; } 115 bool supportsFocus() const final { return true; }
116 bool layoutObjectIsFocusable() const final; 116 bool layoutObjectIsFocusable() const final;
117 bool isKeyboardFocusable() const final; 117 bool isKeyboardFocusable() const final;
118 void didAddUserAgentShadowRoot(ShadowRoot&) final; 118 void didAddUserAgentShadowRoot(ShadowRoot&) final;
119 void willAddFirstAuthorShadowRoot() final;
120 119
121 // HTMLElement function: 120 // HTMLElement function:
122 bool hasCustomFocusLogic() const override; 121 bool hasCustomFocusLogic() const override;
123 bool isPluginElement() const final; 122 bool isPluginElement() const final;
124 123
125 // Return any existing LayoutPart without triggering relayout, or 0 if it 124 // Return any existing LayoutPart without triggering relayout, or 0 if it
126 // doesn't yet exist. 125 // doesn't yet exist.
127 virtual LayoutPart* existingLayoutPart() const = 0; 126 virtual LayoutPart* existingLayoutPart() const = 0;
128 virtual void updateWidgetInternal() = 0; 127 virtual void updateWidgetInternal() = 0;
129 128
(...skipping 22 matching lines...) Expand all
152 inline bool isHTMLPlugInElement(const HTMLElement& element) 151 inline bool isHTMLPlugInElement(const HTMLElement& element)
153 { 152 {
154 return element.isPluginElement(); 153 return element.isPluginElement();
155 } 154 }
156 155
157 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 156 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
158 157
159 } // namespace blink 158 } // namespace blink
160 159
161 #endif // HTMLPlugInElement_h 160 #endif // HTMLPlugInElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698