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

Unified Diff: ash/common/wm/default_state.cc

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues. Created 3 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
« no previous file with comments | « no previous file | ash/common/wm/lock_window_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/default_state.cc
diff --git a/ash/common/wm/default_state.cc b/ash/common/wm/default_state.cc
index 109e9cf47f611a5d9cf657ed01d1ddef2bc97921..43c8890ca2a5f6450755825925d124bcfb337597 100644
--- a/ash/common/wm/default_state.cc
+++ b/ash/common/wm/default_state.cc
@@ -484,7 +484,7 @@ void DefaultState::EnterToNextState(WindowState* window_state,
WindowStateType previous_state_type = state_type_;
state_type_ = next_state_type;
- window_state->UpdateWindowShowStateFromStateType();
+ window_state->UpdateWindowPropertiesFromStateType();
window_state->NotifyPreStateTypeChange(previous_state_type);
if (window_state->window()->GetParent()) {
@@ -548,7 +548,7 @@ void DefaultState::ReenterToCurrentState(
state_type_ = previous_state_type;
}
- window_state->UpdateWindowShowStateFromStateType();
+ window_state->UpdateWindowPropertiesFromStateType();
window_state->NotifyPreStateTypeChange(previous_state_type);
if ((state_type_ == wm::WINDOW_STATE_TYPE_NORMAL ||
« no previous file with comments | « no previous file | ash/common/wm/lock_window_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698