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

Unified Diff: third_party/WebKit/Source/core/html/shadow/AppearanceSwitchElement.h

Issue 1958073002: Introduce :-internal-shadow-host-has-appearance pseudo class, and apply it to METER element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove null host check Created 4 years, 7 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/shadow/AppearanceSwitchElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/AppearanceSwitchElement.h b/third_party/WebKit/Source/core/html/shadow/AppearanceSwitchElement.h
deleted file mode 100644
index a1781b4bfe3d93c3ba409442561f0c5c0c5932d1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/html/shadow/AppearanceSwitchElement.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef AppearanceSwitchElement_h
-#define AppearanceSwitchElement_h
-
-#include "core/html/HTMLDivElement.h"
-
-namespace blink {
-
-class AppearanceSwitchElement final : public HTMLDivElement {
-public:
- enum Mode {
- ShowIfHostHasAppearance,
- ShowIfHostHasNoAppearance,
- };
- static AppearanceSwitchElement* create(Document&, Mode);
-
-private:
- AppearanceSwitchElement(Document&, Mode);
- PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
-
- const Mode m_mode;
-};
-
-} // namespace blink
-#endif // AppearanceSwitchElement_h

Powered by Google App Engine
This is Rietveld 408576698