Index: ui/app_list/app_list_view_delegate.h |
diff --git a/ui/app_list/app_list_view_delegate.h b/ui/app_list/app_list_view_delegate.h |
index f0c43dbf97a0fa8ceb73c279dff119ca40047f86..df7fcf8575404be4d7a461029cce16c1af22b6d4 100644 |
--- a/ui/app_list/app_list_view_delegate.h |
+++ b/ui/app_list/app_list_view_delegate.h |
@@ -24,6 +24,7 @@ class WebContents; |
namespace gfx { |
class ImageSkia; |
+class Rect; |
} |
namespace app_list { |
@@ -149,6 +150,10 @@ class APP_LIST_EXPORT AppListViewDelegate { |
// Returns the list of users (for AppListMenu). |
virtual const Users& GetUsers() const = 0; |
+ // Returns the bounds of the virtual keyboard if it is currently visible. |
+ // Returns an empty rect if it is not visible. |
+ virtual gfx::Rect GetVirtualKeyboardBounds() const = 0; |
+ |
// Adds/removes an observer for profile changes. |
virtual void AddObserver(AppListViewDelegateObserver* observer) {} |
virtual void RemoveObserver(AppListViewDelegateObserver* observer) {} |