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

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

Issue 6155011: Implementing context menu for the new views textfield. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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: views/controls/textfield/textfield_views_model.h
diff --git a/views/controls/textfield/textfield_views_model.h b/views/controls/textfield/textfield_views_model.h
index c1fa375c216b4261877d759d63a92b4c6c47178e..e309366fbc1d2e730cdf81def68d4dc4c751de4d 100644
--- a/views/controls/textfield/textfield_views_model.h
+++ b/views/controls/textfield/textfield_views_model.h
@@ -137,12 +137,12 @@ class TextfieldViewsModel {
// if text has changed after pasting.
bool Paste();
- private:
- friend class NativeTextfieldViews;
-
// Tells if any text is selected.
bool HasSelection() const;
+ private:
+ friend class NativeTextfieldViews;
+
// Deletes the selected text.
void DeleteSelection();

Powered by Google App Engine
This is Rietveld 408576698