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

Unified Diff: ui/views/widget/native_widget_aura.cc

Issue 2652043004: Remove persisted docked windows (Closed)
Patch Set: Fix compile errors Created 3 years, 11 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 | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 8082fb5a3f3c295563e9e92fbd9c92da36ca445d..2d0345b4f32a2abbd745e34ce6b412b19ba1d9b9 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -536,6 +536,7 @@ void NativeWidgetAura::ShowWithWindowState(ui::WindowShowState state) {
if (state == ui::SHOW_STATE_MAXIMIZED || state == ui::SHOW_STATE_FULLSCREEN ||
state == ui::SHOW_STATE_DOCKED) {
+ // TODO(afakhry): Remove in M58.
varkha 2017/01/26 22:34:53 I would move this comment to the line above to mak
afakhry 2017/01/27 02:43:43 Done.
window_->SetProperty(aura::client::kShowStateKey, state);
}
window_->Show();
@@ -993,6 +994,7 @@ NativeWidgetAura::~NativeWidgetAura() {
// NativeWidgetAura, private:
bool NativeWidgetAura::IsDocked() const {
+ // TODO(afakhry): Remove in M58.
varkha 2017/01/26 22:34:53 Again, would move this comment above the method si
afakhry 2017/01/27 02:43:43 Done.
return window_ &&
window_->GetProperty(aura::client::kShowStateKey) ==
ui::SHOW_STATE_DOCKED;
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698