Chromium Code Reviews| 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 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 251 } | 251 } |
| 252 | 252 |
| 253 static void set_window_manager_client(aura::WindowManagerClient* client) { | 253 static void set_window_manager_client(aura::WindowManagerClient* client) { |
| 254 window_manager_client_ = client; | 254 window_manager_client_ = client; |
| 255 } | 255 } |
| 256 static aura::WindowManagerClient* window_manager_client() { | 256 static aura::WindowManagerClient* window_manager_client() { |
| 257 return window_manager_client_; | 257 return window_manager_client_; |
| 258 } | 258 } |
| 259 | 259 |
| 260 static Config GetAshConfig(); | 260 static Config GetAshConfig(); |
| 261 static bool UseIMEService(); | |
|
sky
2017/05/05 17:08:08
'UseIMEService' reads a verb, where as this is inf
Hadi
2017/05/05 17:27:40
Done.
| |
| 261 | 262 |
| 262 // Creates a default views::NonClientFrameView for use by windows in the | 263 // Creates a default views::NonClientFrameView for use by windows in the |
| 263 // Ash environment. | 264 // Ash environment. |
| 264 views::NonClientFrameView* CreateDefaultNonClientFrameView( | 265 views::NonClientFrameView* CreateDefaultNonClientFrameView( |
| 265 views::Widget* widget); | 266 views::Widget* widget); |
| 266 | 267 |
| 267 // Sets work area insets of the display containing |window|, pings observers. | 268 // Sets work area insets of the display containing |window|, pings observers. |
| 268 void SetDisplayWorkAreaInsets(aura::Window* window, | 269 void SetDisplayWorkAreaInsets(aura::Window* window, |
| 269 const gfx::Insets& insets); | 270 const gfx::Insets& insets); |
| 270 | 271 |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 809 base::ObserverList<ShellObserver> shell_observers_; | 810 base::ObserverList<ShellObserver> shell_observers_; |
| 810 | 811 |
| 811 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 812 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 812 | 813 |
| 813 DISALLOW_COPY_AND_ASSIGN(Shell); | 814 DISALLOW_COPY_AND_ASSIGN(Shell); |
| 814 }; | 815 }; |
| 815 | 816 |
| 816 } // namespace ash | 817 } // namespace ash |
| 817 | 818 |
| 818 #endif // ASH_SHELL_H_ | 819 #endif // ASH_SHELL_H_ |
| OLD | NEW |