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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm

Issue 2891653003: [omnibox] Break out SetCaretPos() method and enhance browser test (Closed)
Patch Set: Better Mac call Created 3 years, 7 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: ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
index 41e447d6a6bc53aaf1d55013eee0c4f300899698..5a4a4c6da958abb5699b6aa96aa537baa7e43eba 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
+++ b/ios/chrome/browser/ui/omnibox/omnibox_view_ios.mm
@@ -242,6 +242,8 @@ void OmniboxViewIOS::SetWindowTextAndCaretPos(const base::string16& text,
model()->OnChanged();
}
+void OmniboxViewIOS::SetCaretPos(size_t caret_pos) {}
Peter Kasting 2017/05/18 18:38:34 Is this NOTIMPLEMENTED(), or is there a reason why
Kevin Bailey 2017/05/18 19:48:17 I assume this is for Rohit? You saw his comment?
Peter Kasting 2017/05/18 19:50:10 Yes.
rohitrao (ping after 24h) 2017/05/23 14:02:39 This used to be impossible with the APIs that iOS
Kevin Bailey 2017/05/23 14:16:19 SetWindowTextAndCaretPos() is called during most a
+
void OmniboxViewIOS::RevertAll() {
ignore_popup_updates_ = true;
OmniboxView::RevertAll();
« components/omnibox/browser/omnibox_view.h ('K') | « ios/chrome/browser/ui/omnibox/omnibox_view_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698