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

Unified Diff: Source/core/css/CSSUnknownRule.h

Issue 1154753006: Remove CSSRule.UNKNOWN_RULE and CSSUnknownRule interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 5 years, 6 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
« no previous file with comments | « Source/core/css/CSSRule.idl ('k') | Source/core/css/CSSUnknownRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSUnknownRule.h
diff --git a/Source/core/css/CSSUnknownRule.h b/Source/core/css/CSSUnknownRule.h
deleted file mode 100644
index e319fd065a901701b3baff6cbc508c9cfb9b270d..0000000000000000000000000000000000000000
--- a/Source/core/css/CSSUnknownRule.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * (C) 1999-2003 Lars Knoll (knoll@kde.org)
- * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2002, 2006, 2008, 2012 Apple Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef CSSUnknownRule_h
-#define CSSUnknownRule_h
-
-#include "core/css/CSSRule.h"
-
-namespace blink {
-
-class CSSUnknownRule final : public CSSRule {
- DEFINE_WRAPPERTYPEINFO();
-public:
- CSSUnknownRule() : CSSRule(0) { }
- virtual ~CSSUnknownRule() { }
-
- virtual String cssText() const override { return String(); }
- virtual void reattach(StyleRuleBase*) override { }
- DEFINE_INLINE_VIRTUAL_TRACE() { CSSRule::trace(visitor); }
-
-private:
- virtual CSSRule::Type type() const override { return UNKNOWN_RULE; }
-};
-
-} // namespace blink
-
-#endif // CSSUnknownRule_h
« no previous file with comments | « Source/core/css/CSSRule.idl ('k') | Source/core/css/CSSUnknownRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698