| 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_SHELL_H_ | 5 #ifndef ASH_SHELL_H_ |
| 6 #define ASH_SHELL_H_ | 6 #define ASH_SHELL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 SystemTrayDelegate* tray_delegate() { return tray_delegate_.get(); } | 211 SystemTrayDelegate* tray_delegate() { return tray_delegate_.get(); } |
| 212 | 212 |
| 213 Launcher* launcher() { return launcher_.get(); } | 213 Launcher* launcher() { return launcher_.get(); } |
| 214 | 214 |
| 215 const ScreenAsh* screen() { return screen_; } | 215 const ScreenAsh* screen() { return screen_; } |
| 216 | 216 |
| 217 internal::ShelfLayoutManager* shelf() const { return shelf_; } | 217 internal::ShelfLayoutManager* shelf() const { return shelf_; } |
| 218 | 218 |
| 219 SystemTray* tray() const { return tray_.get(); } | 219 SystemTray* tray() const { return tray_.get(); } |
| 220 | 220 |
| 221 // Returns the size of the grid. |
| 222 int GetGridSize() const; |
| 223 |
| 221 static void set_initially_hide_cursor(bool hide) { | 224 static void set_initially_hide_cursor(bool hide) { |
| 222 initially_hide_cursor_ = hide; | 225 initially_hide_cursor_ = hide; |
| 223 } | 226 } |
| 224 | 227 |
| 225 // Made available for tests. | 228 // Made available for tests. |
| 226 internal::ShadowController* shadow_controller() { | 229 internal::ShadowController* shadow_controller() { |
| 227 return shadow_controller_.get(); | 230 return shadow_controller_.get(); |
| 228 } | 231 } |
| 229 | 232 |
| 230 private: | 233 private: |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // System tray with clock, Wi-Fi signal, etc. (a replacement in progress for | 324 // System tray with clock, Wi-Fi signal, etc. (a replacement in progress for |
| 322 // |status_widget_|). | 325 // |status_widget_|). |
| 323 scoped_ptr<SystemTray> tray_; | 326 scoped_ptr<SystemTray> tray_; |
| 324 | 327 |
| 325 DISALLOW_COPY_AND_ASSIGN(Shell); | 328 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 326 }; | 329 }; |
| 327 | 330 |
| 328 } // namespace ash | 331 } // namespace ash |
| 329 | 332 |
| 330 #endif // ASH_SHELL_H_ | 333 #endif // ASH_SHELL_H_ |
| OLD | NEW |