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

Unified Diff: ash/wm/lock_layout_manager.h

Issue 2876993002: Introduce window container to be used by lock screen app windows (Closed)
Patch Set: . Created 3 years, 7 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/wm/lock_action_handler_layout_manager_unittest.cc ('k') | ash/wm/lock_window_state.h » ('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 43b89043f63f0bff58794c20edc303c02640c6bb..95aeffb614ca52b692ccc178153623fb3b6ba094 100644
--- a/ash/wm/lock_layout_manager.h
+++ b/ash/wm/lock_layout_manager.h
@@ -66,11 +66,15 @@ class ASH_EXPORT LockLayoutManager
void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
void OnKeyboardClosed() override;
- private:
+ protected:
// Adjusts the bounds of all managed windows when the display area changes.
// This happens when the display size, work area insets has changed.
void AdjustWindowsForWorkAreaChange(const wm::WMEvent* event);
+ aura::Window* window() { return window_; }
+ aura::Window* root_window() { return root_window_; }
+
+ private:
aura::Window* window_;
aura::Window* root_window_;
« no previous file with comments | « ash/wm/lock_action_handler_layout_manager_unittest.cc ('k') | ash/wm/lock_window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698