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

Unified Diff: third_party/WebKit/public/web/WebSelection.h

Issue 2691583003: Removed fields from Selection classes (Closed)
Patch Set: Forgot to remove fields from test Created 3 years, 10 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 | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebSelection.h
diff --git a/third_party/WebKit/public/web/WebSelection.h b/third_party/WebKit/public/web/WebSelection.h
index ae1d7d7c90c91ea4f5ef163a86622990531ebe40..003b7ee068136df75f37db030909ce8e9823291d 100644
--- a/third_party/WebKit/public/web/WebSelection.h
+++ b/third_party/WebKit/public/web/WebSelection.h
@@ -30,9 +30,6 @@ class BLINK_EXPORT WebSelection {
bool isCaret() const { return selectionType() == CaretSelection; }
bool isRange() const { return selectionType() == RangeSelection; }
- bool isEditable() const { return m_isEditable; }
- bool isEmptyTextFormControl() const { return m_isEmptyTextControl; }
-
private:
SelectionType selectionType() const { return m_selectionType; }
@@ -40,13 +37,6 @@ class BLINK_EXPORT WebSelection {
WebSelectionBound m_start;
WebSelectionBound m_end;
-
- // Whether the selection region consists of editable text.
- bool m_isEditable;
-
- // Whether the selection resides in an empty text form control. Note that
- // this only applies to caret-type selections.
- bool m_isEmptyTextControl;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698