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

Unified Diff: ui/views/controls/prefix_selector.h

Issue 2554513002: Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. (Closed)
Patch Set: add a test with multiple displays case Created 4 years 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: ui/views/controls/prefix_selector.h
diff --git a/ui/views/controls/prefix_selector.h b/ui/views/controls/prefix_selector.h
index 76f61419bdf0698495b9428596c2a984c70d943f..048f09544fed8497508613b56cb3de680730b39a 100644
--- a/ui/views/controls/prefix_selector.h
+++ b/ui/views/controls/prefix_selector.h
@@ -55,7 +55,7 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInputClient {
bool ChangeTextDirectionAndLayoutAlignment(
base::i18n::TextDirection direction) override;
void ExtendSelectionAndDelete(size_t before, size_t after) override;
- void EnsureCaretInRect(const gfx::Rect& rect) override;
+ void EnsureCaretOutOfRect(const gfx::Rect& rect) override;
bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override;
void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override;

Powered by Google App Engine
This is Rietveld 408576698