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

Side by Side Diff: ash/common/wm_root_window_controller.h

Issue 2619943002: Revert "chromeos: Fix shelf appearing at login screen under mash" (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « ash/common/test/test_session_state_delegate.cc ('k') | ash/common/wm_root_window_controller.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/workspace/workspace_types.h" 9 #include "ash/common/wm/workspace/workspace_types.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 virtual bool HasShelf() = 0; 94 virtual bool HasShelf() = 0;
95 95
96 virtual WmShell* GetShell() = 0; 96 virtual WmShell* GetShell() = 0;
97 97
98 virtual WmShelf* GetShelf() = 0; 98 virtual WmShelf* GetShelf() = 0;
99 99
100 // Creates the shelf for this root window and notifies observers. 100 // Creates the shelf for this root window and notifies observers.
101 void CreateShelf(); 101 void CreateShelf();
102 102
103 // Show shelf view if it was created hidden (before session has started).
104 // TODO(jamescook): Eliminate this and handle show via Shelf.
105 void ShowShelf();
106
103 // Returns the system tray controller. May be null for external displays. 107 // Returns the system tray controller. May be null for external displays.
104 SystemTray* GetSystemTray(); 108 SystemTray* GetSystemTray();
105 109
106 // Returns the window associated with this WmRootWindowController. 110 // Returns the window associated with this WmRootWindowController.
107 virtual WmWindow* GetWindow() = 0; 111 virtual WmWindow* GetWindow() = 0;
108 112
109 // Gets the WmWindow whose shell window id is |container_id|. 113 // Gets the WmWindow whose shell window id is |container_id|.
110 WmWindow* GetContainer(int container_id); 114 WmWindow* GetContainer(int container_id);
111 const WmWindow* GetContainer(int container_id) const; 115 const WmWindow* GetContainer(int container_id) const;
112 116
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 std::unique_ptr<ui::MenuModel> menu_model_; 189 std::unique_ptr<ui::MenuModel> menu_model_;
186 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_; 190 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_;
187 std::unique_ptr<views::MenuRunner> menu_runner_; 191 std::unique_ptr<views::MenuRunner> menu_runner_;
188 192
189 DISALLOW_COPY_AND_ASSIGN(WmRootWindowController); 193 DISALLOW_COPY_AND_ASSIGN(WmRootWindowController);
190 }; 194 };
191 195
192 } // namespace ash 196 } // namespace ash
193 197
194 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 198 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/common/test/test_session_state_delegate.cc ('k') | ash/common/wm_root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698