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

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

Issue 2259033003: New accessibility virtual keyboard behavior in non-sticky mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 4 years, 4 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
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66a87ebf956775d7004b791920ac6cc7bc49af58..f189db7b15416ecf91e365bf32c8e5f9ee1f96e9 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 SetAvailableBounds(const gfx::Rect& new_bounds) override;
// If a derived class overrides this method, it should call parent's
// implementation.
@@ -122,6 +123,10 @@ class UI_BASE_IME_EXPORT InputMethodBase
std::vector<std::unique_ptr<ui::KeyEvent>> key_events_for_testing_;
+ // Screen bounds of root window not covered by virtual keyboard if it is
+ // active.
+ gfx::Rect available_bounds_;
+
DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
};
« no previous file with comments | « ui/base/ime/input_method.h ('k') | ui/base/ime/input_method_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698