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

Unified Diff: views/controls/textfield/native_textfield_gtk.cc

Issue 6318004: Add TextRange and related methods to Textfield Views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « views/controls/textfield/native_textfield_gtk.h ('k') | views/controls/textfield/native_textfield_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/textfield/native_textfield_gtk.cc
diff --git a/views/controls/textfield/native_textfield_gtk.cc b/views/controls/textfield/native_textfield_gtk.cc
index d5b16192c46071869d8b0f4362d9a057fa838772..f713c4e6e4d02a1945f2030421b09a1bb07c940a 100644
--- a/views/controls/textfield/native_textfield_gtk.cc
+++ b/views/controls/textfield/native_textfield_gtk.cc
@@ -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.
@@ -343,6 +343,19 @@ bool NativeTextfieldGtk::IsIMEComposing() const {
return false;
}
+void NativeTextfieldGtk::GetSelectedRange(TextRange* range) const {
+ NOTREACHED();
+}
+
+void NativeTextfieldGtk::SelectRange(const TextRange& range) {
+ NOTREACHED();
+}
+
+size_t NativeTextfieldGtk::GetCursorPosition() const {
+ NOTREACHED();
+ return 0U;
+}
+
bool NativeTextfieldGtk::HandleKeyPressed(const views::KeyEvent& e) {
return false;
}
« no previous file with comments | « views/controls/textfield/native_textfield_gtk.h ('k') | views/controls/textfield/native_textfield_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698