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

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

Issue 5966006: Hitting Tab should always move cursor to end of omnibox text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix AutocompleteEditViewViews. 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: chrome/browser/autocomplete/autocomplete_edit_view_views.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_views.h b/chrome/browser/autocomplete/autocomplete_edit_view_views.h
index ae2b1a7466785fec6289127087df946171c4f415..007710d9deac9b9c1c1b05e5a5709cdab428b193 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_views.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_views.h
@@ -112,12 +112,11 @@ class AutocompleteEditViewViews : public views::View,
virtual bool OnAfterPossibleChange();
virtual gfx::NativeView GetNativeView() const;
virtual CommandUpdater* GetCommandUpdater();
- virtual views::View* AddToView(views::View* parent);
+ virtual void SetInstantSuggestion(const string16& input);
+ virtual string16 GetInstantSuggestion() const;
virtual int TextWidth() const;
virtual bool IsImeComposing() const;
- virtual bool CommitInstantSuggestion(const string16& typed_text,
- const string16& suggested_text);
- virtual void SetInstantSuggestion(const string16& input);
+ virtual views::View* AddToView(views::View* parent);
// Overridden from NotificationObserver:
virtual void Observe(NotificationType type,

Powered by Google App Engine
This is Rietveld 408576698