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

Unified Diff: ui/base/ime/input_method_base.h

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: reupload 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/base/ime/input_method_base.h
diff --git a/ui/base/ime/input_method_base.h b/ui/base/ime/input_method_base.h
index 1daa0e928e6de0a68c2f81c2504dc110e2d3148b..557aa2309a5d26b21ac79d240b446784a08f7740 100644
--- a/ui/base/ime/input_method_base.h
+++ b/ui/base/ime/input_method_base.h
@@ -43,6 +43,7 @@ class UI_BASE_IME_EXPORT InputMethodBase
void SetFocusedTextInputClient(TextInputClient* client) override;
void DetachTextInputClient(TextInputClient* client) override;
TextInputClient* GetTextInputClient() const override;
+ void SetCoveredBounds(const gfx::Rect& new_bounds) override;
// If a derived class overrides this method, it should call parent's
// implementation.
@@ -124,6 +125,9 @@ class UI_BASE_IME_EXPORT InputMethodBase
std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_;
+ // Screen bounds covered by virtual keyboard.
+ gfx::Rect covered_bounds_;
+
DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
};

Powered by Google App Engine
This is Rietveld 408576698