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

Side by Side Diff: ash/shell.h

Issue 2747543002: ash: Start/stop observing KeyboardController via ShellObserver (Closed)
Patch Set: update LockLayoutManager to use similar logic Created 3 years, 9 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/root_window_controller.cc ('k') | ash/shell.cc » ('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 #ifndef ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // Notifies observers that overview mode has ended. 455 // Notifies observers that overview mode has ended.
456 void NotifyOverviewModeEnded(); 456 void NotifyOverviewModeEnded();
457 457
458 // Notifies observers that fullscreen mode has changed for |root_window|. 458 // Notifies observers that fullscreen mode has changed for |root_window|.
459 void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window); 459 void NotifyFullscreenStateChanged(bool is_fullscreen, WmWindow* root_window);
460 460
461 // Notifies observers that |pinned_window| changed its pinned window state. 461 // Notifies observers that |pinned_window| changed its pinned window state.
462 void NotifyPinnedStateChanged(WmWindow* pinned_window); 462 void NotifyPinnedStateChanged(WmWindow* pinned_window);
463 463
464 // Notifies observers that the virtual keyboard has been 464 // Notifies observers that the virtual keyboard has been
465 // activated/deactivated. 465 // activated/deactivated for |root_window|.
466 void NotifyVirtualKeyboardActivated(bool activated); 466 void NotifyVirtualKeyboardActivated(bool activated, WmWindow* root_window);
467 467
468 // Notifies observers that the shelf was created for |root_window|. 468 // Notifies observers that the shelf was created for |root_window|.
469 // TODO(jamescook): Move to Shelf. 469 // TODO(jamescook): Move to Shelf.
470 void NotifyShelfCreatedForRootWindow(WmWindow* root_window); 470 void NotifyShelfCreatedForRootWindow(WmWindow* root_window);
471 471
472 // Notifies observers that |root_window|'s shelf changed alignment. 472 // Notifies observers that |root_window|'s shelf changed alignment.
473 // TODO(jamescook): Move to Shelf. 473 // TODO(jamescook): Move to Shelf.
474 void NotifyShelfAlignmentChanged(WmWindow* root_window); 474 void NotifyShelfAlignmentChanged(WmWindow* root_window);
475 475
476 // Notifies observers that |root_window|'s shelf changed auto-hide behavior. 476 // Notifies observers that |root_window|'s shelf changed auto-hide behavior.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 base::ObserverList<ShellObserver> shell_observers_; 655 base::ObserverList<ShellObserver> shell_observers_;
656 656
657 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 657 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
658 658
659 DISALLOW_COPY_AND_ASSIGN(Shell); 659 DISALLOW_COPY_AND_ASSIGN(Shell);
660 }; 660 };
661 661
662 } // namespace ash 662 } // namespace ash
663 663
664 #endif // ASH_SHELL_H_ 664 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698