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

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: Modified copyright year 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..176bc6e6a5b427af2d113a52b77e3dbef5ae9f18 100644
--- a/views/controls/textfield/textfield_views_model.h
+++ b/views/controls/textfield/textfield_views_model.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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