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

Side by Side Diff: ash/shell.cc

Issue 844763006: Change overview mode to so that docked panel windows are not grouped together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed stale pointer in ScopedTransformOverviewWindow. Created 5 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 unified diff | Download patch
« no previous file with comments | « ash/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/accelerators/accelerator_controller.h" 10 #include "ash/accelerators/accelerator_controller.h"
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 #if defined(OS_CHROMEOS) 413 #if defined(OS_CHROMEOS)
414 if (projecting_observer_) 414 if (projecting_observer_)
415 projecting_observer_->OnCastingSessionStartedOrStopped(started); 415 projecting_observer_->OnCastingSessionStartedOrStopped(started);
416 #endif 416 #endif
417 } 417 }
418 418
419 void Shell::OnOverviewModeStarting() { 419 void Shell::OnOverviewModeStarting() {
420 FOR_EACH_OBSERVER(ShellObserver, observers_, OnOverviewModeStarting()); 420 FOR_EACH_OBSERVER(ShellObserver, observers_, OnOverviewModeStarting());
421 } 421 }
422 422
423 void Shell::OnOverviewModeEnding() { 423 void Shell::OnOverviewModeEnded() {
424 FOR_EACH_OBSERVER(ShellObserver, observers_, OnOverviewModeEnding()); 424 FOR_EACH_OBSERVER(ShellObserver, observers_, OnOverviewModeEnded());
425 } 425 }
426 426
427 void Shell::OnMaximizeModeStarted() { 427 void Shell::OnMaximizeModeStarted() {
428 FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeStarted()); 428 FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeStarted());
429 } 429 }
430 430
431 void Shell::OnMaximizeModeEnded() { 431 void Shell::OnMaximizeModeEnded() {
432 FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeEnded()); 432 FOR_EACH_OBSERVER(ShellObserver, observers_, OnMaximizeModeEnded());
433 } 433 }
434 434
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 //////////////////////////////////////////////////////////////////////////////// 1161 ////////////////////////////////////////////////////////////////////////////////
1162 // Shell, aura::client::ActivationChangeObserver implementation: 1162 // Shell, aura::client::ActivationChangeObserver implementation:
1163 1163
1164 void Shell::OnWindowActivated(aura::Window* gained_active, 1164 void Shell::OnWindowActivated(aura::Window* gained_active,
1165 aura::Window* lost_active) { 1165 aura::Window* lost_active) {
1166 if (gained_active) 1166 if (gained_active)
1167 target_root_window_ = gained_active->GetRootWindow(); 1167 target_root_window_ = gained_active->GetRootWindow();
1168 } 1168 }
1169 1169
1170 } // namespace ash 1170 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell.h ('k') | ash/shell_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698