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

Unified Diff: Source/core/rendering/RenderQuote.h

Issue 934853002: Move and rename RenderQuote and RenderWordBreak. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/layout/style/ContentData.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderQuote.h
diff --git a/Source/core/rendering/RenderQuote.h b/Source/core/rendering/RenderQuote.h
deleted file mode 100644
index 089b861ca526932cd6405e80868b1421e8e5fed7..0000000000000000000000000000000000000000
--- a/Source/core/rendering/RenderQuote.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Copyright (C) 2011 Nokia Inc. All rights reserved.
- * Copyright (C) 2012 Google 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 RenderQuote_h
-#define RenderQuote_h
-
-#include "core/layout/style/LayoutStyle.h"
-#include "core/layout/style/LayoutStyleConstants.h"
-#include "core/layout/style/QuotesData.h"
-#include "core/rendering/RenderInline.h"
-
-namespace blink {
-
-class Document;
-class RenderTextFragment;
-
-class RenderQuote final : public RenderInline {
-public:
- RenderQuote(Document*, const QuoteType);
- virtual ~RenderQuote();
- void attachQuote();
-
-private:
- void detachQuote();
-
- virtual void willBeDestroyed() override;
- virtual const char* renderName() const override { return "RenderQuote"; };
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectQuote || RenderInline::isOfType(type); }
- virtual void styleDidChange(StyleDifference, const LayoutStyle*) override;
- virtual void willBeRemovedFromTree() override;
-
- String computeText() const;
- void updateText();
- const QuotesData* quotesData() const;
- void updateDepth();
- bool isAttached() { return m_attached; }
-
- RenderTextFragment* findFragmentChild() const;
-
- QuoteType m_type;
- int m_depth;
- RenderQuote* m_next;
- RenderQuote* m_previous;
- bool m_attached;
- String m_text;
-};
-
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderQuote, isQuote());
-
-} // namespace blink
-
-#endif // RenderQuote_h
« no previous file with comments | « Source/core/layout/style/ContentData.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698