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

Unified Diff: ui/views/controls/textfield/textfield_views_model.h

Issue 120503005: Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix touch drag and drop unit test. Created 6 years, 11 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: ui/views/controls/textfield/textfield_views_model.h
diff --git a/ui/views/controls/textfield/textfield_views_model.h b/ui/views/controls/textfield/textfield_views_model.h
index bc1de8857529a59ccd7b62b62e15259fc311bb68..bc9e25643eff1190dec872c023e09066db80c6a1 100644
--- a/ui/views/controls/textfield/textfield_views_model.h
+++ b/ui/views/controls/textfield/textfield_views_model.h
@@ -226,9 +226,10 @@ class VIEWS_EXPORT TextfieldViewsModel {
// Returns true if there is composition text.
bool HasCompositionText() const;
+ // Clears all edit history.
+ void ClearEditHistory();
+
private:
- friend class NativeTextfieldViews;
- friend class NativeTextfieldViewsTest;
friend class TextfieldViewsModelTest;
friend class UndoRedo_BasicTest;
friend class UndoRedo_CutCopyPasteTest;
@@ -248,9 +249,6 @@ class VIEWS_EXPORT TextfieldViewsModel {
// edit in the edit history.
void ReplaceTextInternal(const base::string16& text, bool mergeable);
- // Clears all edit history.
- void ClearEditHistory();
-
// Clears redo history.
void ClearRedoHistory();

Powered by Google App Engine
This is Rietveld 408576698