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

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

Issue 2240353002: move switch Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Virtual keyboard non-sticky mode changes. 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/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 cfa5583192520437d31f190346e3ced9c8a9192e..5e7e0b0207d0f7b747b50967196dd60a84d0f092 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,10 @@ class InputMethod {
virtual void AddObserver(InputMethodObserver* observer) = 0;
virtual void RemoveObserver(InputMethodObserver* observer) = 0;
+ // Set available bounds and original bounds of screen when virtual keyboard is
+ // active.
+ virtual void set_available_bounds(gfx::Rect new_bounds){};
+
protected:
friend class extensions::InputImeApiTest;
@@ -169,6 +174,9 @@ class InputMethod {
// Whether the key events will be tracked. Only used for testing.
bool track_key_events_for_testing_;
+
+ // Available bounds of screen when virtual keyboard is active.
+ gfx::Rect available_bounds_;
};
} // namespace ui
« 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