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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOptGroupElement.h

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Support display: contents for elements, first-line and first-letter pseudos. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLOptGroupElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.h b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.h
index 8c4926c82c6ecf27528c21a9add66cbe7fd6a882..5d22671e492d3869e5d2cb2e7d38457749f1b14e 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.h
@@ -29,7 +29,6 @@
namespace blink {
-class ComputedStyle;
class HTMLSelectElement;
class HTMLDivElement;
@@ -54,21 +53,11 @@ class CORE_EXPORT HTMLOptGroupElement final : public HTMLElement {
void parseAttribute(const AttributeModificationParams&) override;
void accessKeyAction(bool sendMouseEvents) override;
void didAddUserAgentShadowRoot(ShadowRoot&) override;
- void attachLayoutTree(const AttachContext& = AttachContext()) override;
- void detachLayoutTree(const AttachContext& = AttachContext()) override;
bool matchesEnabledPseudoClass() const override;
InsertionNotificationRequest insertedInto(ContainerNode*) override;
void removedFrom(ContainerNode*) override;
- // <optgroup> might not have a layoutObject so we manually manage a cached
- // style.
- void updateNonComputedStyle();
- ComputedStyle* nonLayoutObjectComputedStyle() const override;
- PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
-
void updateGroupLabel();
-
- RefPtr<ComputedStyle> m_style;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698