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

Unified Diff: ash/common/wm_window.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: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index 43fd110c480c6ae7963cb82709369b003a2528e8..f3475263e16cb3c924f95bc0a4e171714780c74d 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -13,6 +13,7 @@
#include "base/time/time.h"
#include "ui/base/ui_base_types.h"
#include "ui/compositor/layer_animation_element.h"
+#include "ui/gfx/geometry/rect.h"
oshima 2016/08/16 23:14:02 use forward declaration.
hariank 2016/08/16 23:35:06 Done.
#include "ui/wm/core/window_animations.h"
#include "ui/wm/public/window_types.h"
@@ -125,6 +126,7 @@ class ASH_EXPORT WmWindow {
virtual bool GetBoolProperty(WmWindowProperty key) = 0;
virtual int GetIntProperty(WmWindowProperty key) = 0;
virtual void SetIntProperty(WmWindowProperty key, int value) = 0;
+ virtual gfx::Rect* GetRectProperty(WmWindowProperty key) = 0;
// Returns null if there are no details.
virtual ShelfItemDetails* GetShelfItemDetails() = 0;

Powered by Google App Engine
This is Rietveld 408576698