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

Unified Diff: ui/base/ime/input_method.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
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/base/ime/input_method_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method.h
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
index a20da194b1e7dece5ed98a297c9517aa487a75e0..bdaed36c7e0ca4ca848c9b9074b458f5eb3c9d0b 100644
--- a/ui/base/ime/input_method.h
+++ b/ui/base/ime/input_method.h
@@ -15,6 +15,7 @@
#include "build/build_config.h"
#include "ui/base/ime/text_input_mode.h"
#include "ui/base/ime/text_input_type.h"
+#include "ui/gfx/geometry/rect.h"
namespace extensions {
class InputImeApiTest;
@@ -160,6 +161,9 @@ class InputMethod {
virtual void AddObserver(InputMethodObserver* observer) = 0;
virtual void RemoveObserver(InputMethodObserver* observer) = 0;
+ // Set covered screen bounds when virtual keyboard is active.
+ virtual void SetCoveredBounds(const gfx::Rect& new_bounds) {}
sadrul 2016/12/08 02:57:07 InputMethod::SetCoveredBounds() doesn't make a lot
yhanada 2016/12/12 08:38:28 Renamed to |SetOnScreenKeyboardBounds|.
+
protected:
friend class extensions::InputImeApiTest;
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/base/ime/input_method_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698