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

Unified Diff: Source/core/editing/TextOffset.cpp

Issue 1295073002: Move serializer related files in core/editing/ related files into core/editing/serializers/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-17T15:24:31 Rebase for Source/web/WebPageSerializerImpl.cpp Created 5 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
« no previous file with comments | « Source/core/editing/TextOffset.h ('k') | Source/core/editing/serializers/HTMLInterchange.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/TextOffset.cpp
diff --git a/Source/core/editing/TextOffset.cpp b/Source/core/editing/TextOffset.cpp
deleted file mode 100644
index 37d32a8b35d378ae10edca556a8fd91ae6a21d01..0000000000000000000000000000000000000000
--- a/Source/core/editing/TextOffset.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 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.
-
-#include "config.h"
-#include "core/editing/TextOffset.h"
-
-#include "core/dom/Text.h"
-
-namespace blink {
-
-TextOffset::TextOffset()
- : m_offset(0)
-{
-}
-
-TextOffset::TextOffset(PassRefPtrWillBeRawPtr<Text> text, int offset)
- : m_text(text)
- , m_offset(offset)
-{
-}
-
-TextOffset::TextOffset(const TextOffset& other)
- : m_text(other.m_text)
- , m_offset(other.m_offset)
-{
-}
-
-bool TextOffset::isNull() const
-{
- return !m_text;
-}
-
-bool TextOffset::isNotNull() const
-{
- return m_text;
-}
-
-} // namespace blink
« no previous file with comments | « Source/core/editing/TextOffset.h ('k') | Source/core/editing/serializers/HTMLInterchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698