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

Unified Diff: ash/wm/lock_layout_manager.h

Issue 2134833002: ash: Move VirtualKeyboardStateObserver functionality to ShellObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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 | « ash/test/test_shell_delegate.cc ('k') | ash/wm/lock_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_layout_manager.h
diff --git a/ash/wm/lock_layout_manager.h b/ash/wm/lock_layout_manager.h
index 6eb0cae1af5a7d6a39f9b32907b5a0db514a87fc..7a9f0e8312d155af0609407e7288ebf89701da4f 100644
--- a/ash/wm/lock_layout_manager.h
+++ b/ash/wm/lock_layout_manager.h
@@ -6,7 +6,7 @@
#define ASH_WM_LOCK_LAYOUT_MANAGER_H_
#include "ash/ash_export.h"
-#include "ash/common/shell_delegate.h"
+#include "ash/common/shell_observer.h"
#include "ash/common/wm/wm_types.h"
#include "ash/snap_to_pixel_layout_manager.h"
#include "base/macros.h"
@@ -45,7 +45,7 @@ class WMEvent;
class ASH_EXPORT LockLayoutManager
: public SnapToPixelLayoutManager,
public aura::WindowObserver,
- public VirtualKeyboardStateObserver,
+ public ShellObserver,
public keyboard::KeyboardControllerObserver {
public:
explicit LockLayoutManager(aura::Window* window);
@@ -73,7 +73,7 @@ class ASH_EXPORT LockLayoutManager
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) override;
- // VirtualKeyboardStateObserver overrides:
+ // ShellObserver:
void OnVirtualKeyboardStateChanged(bool activated) override;
// keyboard::KeyboardControllerObserver overrides:
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/wm/lock_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698