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

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

Issue 2911963004: Generate enum/getters/setters/mappings for user-select. (Closed)
Patch Set: Rebase 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 aec4bd46d6b9d3bdc12a756d13a7e73a06934c55..a8c43d87be4e7e3118505d7eb1b9f994136bbc21 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1816,15 +1816,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>,
SET_VAR(rare_inherited_data_, user_modify_, static_cast<unsigned>(u));
}
- // -webkit-user-select
- static EUserSelect InitialUserSelect() { return EUserSelect::kText; }
- EUserSelect UserSelect() const {
- return static_cast<EUserSelect>(rare_inherited_data_->user_select_);
- }
- void SetUserSelect(EUserSelect s) {
- SET_VAR(rare_inherited_data_, user_select_, static_cast<unsigned>(s));
- }
-
// caret-color
void SetCaretColor(const StyleAutoColor& color) {
SET_VAR(rare_inherited_data_, caret_color_, color.Resolve(Color()));
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueIDMappings.h ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698