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

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

Issue 2763063002: [omnibox] Narrow condition for resetting selection (Closed)
Patch Set: Restored code to trigger error in previous code Created 3 years, 8 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
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index b2973a6ffc6abefd90a104651d551e627515dede..520cc3f557e05f268dd79bfd5e41604bd3a64b2a 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -107,6 +107,7 @@ class OmniboxViewViews
private:
FRIEND_TEST_ALL_PREFIXES(OmniboxViewViewsTest, CloseOmniboxPopupOnTextDrag);
+ FRIEND_TEST_ALL_PREFIXES(OmniboxViewViewsTest, MaintainCursorAfterFocusCycle);
// Update the field with |text| and set the selection.
void SetTextAndSelectedRange(const base::string16& text,

Powered by Google App Engine
This is Rietveld 408576698