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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 8044004: Clean up of SelectionModel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/ui/views/omnibox/omnibox_view_views.h
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_views.h (revision 103758)
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.h (working copy)
@@ -153,6 +153,9 @@
// Returns the selected text.
string16 GetSelectedText() const;
+ // Selects the text given by |caret| and |end|.
+ void SelectRange(size_t caret, size_t end);
msw 2011/10/04 07:25:41 Please use |start| to match range and |end|, updat
xji 2011/10/05 01:23:42 removed.
+
AutocompletePopupView* CreatePopupView(View* location_bar);
views::Textfield* textfield_;

Powered by Google App Engine
This is Rietveld 408576698