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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.h

Issue 172029: Ctrl+Backspace should clear inline suggested autocomplete text after caret al... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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: chrome/browser/autocomplete/autocomplete_edit.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_edit.h (revision 23046)
+++ chrome/browser/autocomplete/autocomplete_edit.h (working copy)
@@ -148,6 +148,8 @@
// Sets the user_text_ to |text|. Only the View should call this.
void SetUserText(const std::wstring& text);
+ std::wstring user_text() const { return user_text_; }
+
// Reverts the edit model back to its unedited state (permanent text showing,
// no user input in progress).
void Revert();

Powered by Google App Engine
This is Rietveld 408576698