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

Unified Diff: ash/wm/panels/panel_layout_manager.h

Issue 14477010: Partial fix for keyboard occlusion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/wm/panels/panel_layout_manager.h
diff --git a/ash/wm/panels/panel_layout_manager.h b/ash/wm/panels/panel_layout_manager.h
index 41a894a5630953e1d2cd47a15e328a7bac7d029d..f2e2ee6520805916d9ddc887ac4e8e78c9a40ccd 100644
--- a/ash/wm/panels/panel_layout_manager.h
+++ b/ash/wm/panels/panel_layout_manager.h
@@ -17,6 +17,7 @@
#include "ui/aura/client/activation_change_observer.h"
#include "ui/aura/layout_manager.h"
#include "ui/aura/window_observer.h"
+#include "ui/keyboard/keyboard_controller.h"
namespace aura {
class Window;
@@ -50,7 +51,8 @@ class ASH_EXPORT PanelLayoutManager
public ash::LauncherIconObserver,
public ash::ShellObserver,
public aura::WindowObserver,
- public aura::client::ActivationChangeObserver {
+ public aura::client::ActivationChangeObserver,
+ public keyboard::KeyboardController::Observer {
public:
explicit PanelLayoutManager(aura::Window* panel_container);
virtual ~PanelLayoutManager();
@@ -129,6 +131,10 @@ class ASH_EXPORT PanelLayoutManager
// Update the callout arrows for all managed panels.
void UpdateCallouts();
+ // Overridden from keyboard::KeyboardController::Observer:
+ virtual void OnKeyboardBoundsChanged(
+ const gfx::Rect& keyboard_bounds) OVERRIDE;
+
// Parent window associated with this layout manager.
aura::Window* panel_container_;
// Protect against recursive calls to Relayout().

Powered by Google App Engine
This is Rietveld 408576698