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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2912683002: Generate methods for Hyphens and HyphenationString in ComputedStyleBase. (Closed)
Patch Set: Created 3 years, 7 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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 9823d00a0dcc8a64af401490b4aef5d22413a90f..2ab299e27eb0f351ca85d23ed44f7444b404c5b4 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1647,24 +1647,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
static Color InitialColor() { return Color::kBlack; }
void SetColor(const Color&);
- // hyphens
- static Hyphens InitialHyphens() { return Hyphens::kManual; }
- Hyphens GetHyphens() const {
- return static_cast<Hyphens>(rare_inherited_data_->hyphens_);
- }
- void SetHyphens(Hyphens h) {
- SET_VAR(rare_inherited_data_, hyphens_, static_cast<unsigned>(h));
- }
-
- // -webkit-hyphenate-character
- static const AtomicString& InitialHyphenationString() { return g_null_atom; }
- const AtomicString& HyphenationString() const {
- return rare_inherited_data_->hyphenation_string_;
- }
- void SetHyphenationString(const AtomicString& h) {
- SET_VAR(rare_inherited_data_, hyphenation_string_, h);
- }
-
// line-height
static Length InitialLineHeight() { return Length(-100.0, kPercent); }
Length LineHeight() const;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698