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

Unified Diff: third_party/WebKit/Source/core/style/StyleNavigationData.cpp

Issue 1919813002: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/style/StyleNavigationData.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.cpp b/third_party/WebKit/Source/core/style/StyleNavigationData.cpp
similarity index 68%
copy from third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.cpp
copy to third_party/WebKit/Source/core/style/StyleNavigationData.cpp
index d9de03c442855d42a1d25bacc3e1d55da35c37cf..7506cabfa85b0b127e49d8b6b3730946a49b815a 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutAttributes.cpp
+++ b/third_party/WebKit/Source/core/style/StyleNavigationData.cpp
@@ -1,5 +1,6 @@
/*
- * Copyright (C) Research In Motion Limited 2010-11. All rights reserved.
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved.
fs 2016/05/18 15:55:05 Assuming this isn't covered by the same license as
+ * Copyright (C) 2016 Samsung Electronics. 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
@@ -15,20 +16,23 @@
* 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.
+ *
*/
-#include "core/layout/svg/SVGTextLayoutAttributes.h"
+#include "core/style/StyleNavigationData.h"
namespace blink {
-SVGTextLayoutAttributes::SVGTextLayoutAttributes(LayoutSVGInlineText* context)
- : m_context(context)
+StyleNavigationData::StyleNavigationData()
{
}
-void SVGTextLayoutAttributes::clear()
+StyleNavigationData::StyleNavigationData(const StyleNavigationData &o)
+ : m_up(o.m_up)
+ , m_down(o.m_down)
+ , m_left(o.m_left)
+ , m_right(o.m_right)
{
- m_characterDataMap.clear();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698