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

Unified Diff: ui/aura/client/aura_constants.h

Issue 2251843002: Add window property for restore bounds when virtual keyboard is enabled. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/aura/client/aura_constants.h
diff --git a/ui/aura/client/aura_constants.h b/ui/aura/client/aura_constants.h
index 9675a67786d129836c1e3c41a8ed9160bfc738e9..2dcb4d3f89deb1b3256f05892c9f019eef16deec 100644
--- a/ui/aura/client/aura_constants.h
+++ b/ui/aura/client/aura_constants.h
@@ -55,6 +55,10 @@ AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;
// A property key to store the restore bounds for a window.
AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey;
+// A property key to store the new bounds for a window when moved by the virtual
+// keyboard.
+AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kVKNewBoundsKey;
oshima 2016/08/16 22:58:11 We need some way to pass bounds information from r
sky 2016/08/16 23:37:19 Good question. Can you elaborate more on what the
oshima 2016/08/17 00:57:05 So the goal is to be able to restore when VK is hi
+
// A property key to store ui::WindowShowState for restoring a window.
// Used in Ash to remember the show state before the window was minimized.
AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const

Powered by Google App Engine
This is Rietveld 408576698