| OLD | NEW |
| 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_ROOT_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ | 6 #define ASH_ROOT_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shelf/shelf_types.h" | 9 #include "ash/shelf/shelf_types.h" |
| 10 #include "ash/system/user/login_status.h" | 10 #include "ash/system/user/login_status.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 aura::RootWindow* root_window() { return root_window_.get(); } | 73 aura::RootWindow* root_window() { return root_window_.get(); } |
| 74 | 74 |
| 75 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } | 75 RootWindowLayoutManager* root_window_layout() { return root_window_layout_; } |
| 76 | 76 |
| 77 WorkspaceController* workspace_controller() { | 77 WorkspaceController* workspace_controller() { |
| 78 return workspace_controller_.get(); | 78 return workspace_controller_.get(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } | 81 ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } |
| 82 | 82 |
| 83 ToplevelWindowEventHandler* panel_container_handler() { |
| 84 return panel_container_handler_.get(); |
| 85 } |
| 86 |
| 83 // Access the shelf associated with this root window controller, | 87 // Access the shelf associated with this root window controller, |
| 84 // NULL if no such shelf exists. | 88 // NULL if no such shelf exists. |
| 85 ShelfWidget* shelf() { return shelf_.get(); } | 89 ShelfWidget* shelf() { return shelf_.get(); } |
| 86 | 90 |
| 87 // Access the shelf layout manager associated with this root | 91 // Access the shelf layout manager associated with this root |
| 88 // window controller, NULL if no such shelf exists. | 92 // window controller, NULL if no such shelf exists. |
| 89 ShelfLayoutManager* GetShelfLayoutManager(); | 93 ShelfLayoutManager* GetShelfLayoutManager(); |
| 90 | 94 |
| 91 // Returns the system tray on this root window. Note that | 95 // Returns the system tray on this root window. Note that |
| 92 // calling this on the root window that doesn't have a launcher will | 96 // calling this on the root window that doesn't have a launcher will |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; | 194 scoped_ptr<ToplevelWindowEventHandler> lock_modal_container_handler_; |
| 191 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; | 195 scoped_ptr<ToplevelWindowEventHandler> panel_container_handler_; |
| 192 | 196 |
| 193 DISALLOW_COPY_AND_ASSIGN(RootWindowController); | 197 DISALLOW_COPY_AND_ASSIGN(RootWindowController); |
| 194 }; | 198 }; |
| 195 | 199 |
| 196 } // namespace internal | 200 } // namespace internal |
| 197 } // ash | 201 } // ash |
| 198 | 202 |
| 199 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ | 203 #endif // ASH_ROOT_WINDOW_CONTROLLER_H_ |
| OLD | NEW |