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

Unified Diff: ash/common/wm/lock_window_state.h

Issue 2354533004: Ports LockLayoutManager/LockWindowState to ash/common (Closed)
Patch Set: Created 4 years, 3 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/lock_window_state.h
diff --git a/ash/wm/lock_window_state.h b/ash/common/wm/lock_window_state.h
similarity index 89%
rename from ash/wm/lock_window_state.h
rename to ash/common/wm/lock_window_state.h
index d6349f4e4bb4519c0454a6f341f65f2921a5cb06..e8abfc7dc934073d3a6b0a79df5050da08aba8e6 100644
--- a/ash/wm/lock_window_state.h
+++ b/ash/common/wm/lock_window_state.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_WM_LOCK_WINDOW_STATE_H_
-#define ASH_WM_LOCK_WINDOW_STATE_H_
+#ifndef ASH_COMMON_WM_LOCK_WINDOW_STATE_H_
+#define ASH_COMMON_WM_LOCK_WINDOW_STATE_H_
#include "ash/common/wm/window_state.h"
#include "base/macros.h"
@@ -18,7 +18,7 @@ class LockWindowState : public wm::WindowState::State {
public:
// The |window|'s state object will be modified to use this new window mode
// state handler.
- explicit LockWindowState(aura::Window* window);
+ explicit LockWindowState(WmWindow* window);
~LockWindowState() override;
// WindowState::State overrides:
@@ -30,7 +30,7 @@ class LockWindowState : public wm::WindowState::State {
void DetachState(wm::WindowState* window_state) override;
// Creates new LockWindowState instance and attaches it to |window|.
- static wm::WindowState* SetLockWindowState(aura::Window* window);
+ static wm::WindowState* SetLockWindowState(WmWindow* window);
private:
// Updates the window to |new_state_type| and resulting bounds:
@@ -56,4 +56,4 @@ class LockWindowState : public wm::WindowState::State {
} // namespace ash
-#endif // ASH_WM_LOCK_WINDOW_STATE_H_
+#endif // ASH_COMMON_WM_LOCK_WINDOW_STATE_H_

Powered by Google App Engine
This is Rietveld 408576698