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

Unified Diff: third_party/WebKit/Source/core/layout/ng/NGText.h

Issue 2228843003: [LayoutNG] Change core/layout/ng to Chromium style and rename files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/layout/ng/NGText.h
diff --git a/third_party/WebKit/Source/core/layout/ng/NGText.h b/third_party/WebKit/Source/core/layout/ng/NGText.h
deleted file mode 100644
index 44147822ead50e3bff2792e27f515280f8504dc9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/ng/NGText.h
+++ /dev/null
@@ -1,39 +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 NGText_h
-#define NGText_h
-
-#include "core/CoreExport.h"
-#include "platform/LayoutUnit.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class CORE_EXPORT NGText final {
-public:
- NGText(LayoutUnit inlineSize, LayoutUnit blockSize);
- ~NGText() { }
-
- LayoutUnit inlineSize() const { return m_inlineSize; }
- LayoutUnit blockSize() const { return m_blockSize; }
-
- LayoutUnit inlineOffset() const { return m_inlineOffset; }
- LayoutUnit blockOffset() const { return m_blockOffset; }
-
- const String text() const { return String(); }
-
- void setOffset(LayoutUnit inlineOffset, LayoutUnit blockOffset);
-
-private:
- LayoutUnit m_inlineSize;
- LayoutUnit m_blockSize;
-
- LayoutUnit m_inlineOffset;
- LayoutUnit m_blockOffset;
-};
-
-} // namespace blink
-
-#endif // NGText_h
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/NGMarginStrut.h ('k') | third_party/WebKit/Source/core/layout/ng/NGText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698