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

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

Issue 2625733003: Re-reland: chromeos: Fix shelf appearing at login screen under mash (Closed)
Patch Set: remove include 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 SystemModalContainerLayoutManager* GetSystemModalLayoutManager( 90 SystemModalContainerLayoutManager* GetSystemModalLayoutManager(
91 WmWindow* window); 91 WmWindow* window);
92 92
93 virtual bool HasShelf() = 0; 93 virtual bool HasShelf() = 0;
94 94
95 virtual WmShelf* GetShelf() = 0; 95 virtual WmShelf* GetShelf() = 0;
96 96
97 // Creates the shelf for this root window and notifies observers. 97 // Creates the shelf for this root window and notifies observers.
98 void CreateShelf(); 98 void CreateShelf();
99 99
100 // Show shelf view if it was created hidden (before session has started).
101 // TODO(jamescook): Eliminate this and handle show via Shelf.
102 void ShowShelf();
103
104 // Returns the system tray controller. May be null for external displays. 100 // Returns the system tray controller. May be null for external displays.
105 SystemTray* GetSystemTray(); 101 SystemTray* GetSystemTray();
106 102
107 // Returns the window associated with this WmRootWindowController. 103 // Returns the window associated with this WmRootWindowController.
108 virtual WmWindow* GetWindow() = 0; 104 virtual WmWindow* GetWindow() = 0;
109 105
110 // Gets the WmWindow whose shell window id is |container_id|. 106 // Gets the WmWindow whose shell window id is |container_id|.
111 WmWindow* GetContainer(int container_id); 107 WmWindow* GetContainer(int container_id);
112 const WmWindow* GetContainer(int container_id) const; 108 const WmWindow* GetContainer(int container_id) const;
113 109
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 std::unique_ptr<ui::MenuModel> menu_model_; 182 std::unique_ptr<ui::MenuModel> menu_model_;
187 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_; 183 std::unique_ptr<views::MenuModelAdapter> menu_model_adapter_;
188 std::unique_ptr<views::MenuRunner> menu_runner_; 184 std::unique_ptr<views::MenuRunner> menu_runner_;
189 185
190 DISALLOW_COPY_AND_ASSIGN(WmRootWindowController); 186 DISALLOW_COPY_AND_ASSIGN(WmRootWindowController);
191 }; 187 };
192 188
193 } // namespace ash 189 } // namespace ash
194 190
195 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_ 191 #endif // ASH_COMMON_WM_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698