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

Side by Side Diff: ash/shell.h

Issue 2897863004: Revert of chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: Created 3 years, 7 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/mus/touch_transform_setter_mus.cc ('k') | ash/shell.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 (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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 static aura::WindowManagerClient* window_manager_client() { 262 static aura::WindowManagerClient* window_manager_client() {
263 return window_manager_client_; 263 return window_manager_client_;
264 } 264 }
265 265
266 static Config GetAshConfig(); 266 static Config GetAshConfig();
267 static bool ShouldUseIMEService(); 267 static bool ShouldUseIMEService();
268 268
269 // Registers all ash related prefs to the given |registry|. 269 // Registers all ash related prefs to the given |registry|.
270 static void RegisterPrefs(PrefRegistrySimple* registry); 270 static void RegisterPrefs(PrefRegistrySimple* registry);
271 271
272 // Returns true if simplified display management should be enabled.
273 // TODO(sky): remove this; temporary until http://crbug.com/718860 is done.
274 static bool ShouldEnableSimplifiedDisplayManagement();
275
276 // Creates a default views::NonClientFrameView for use by windows in the 272 // Creates a default views::NonClientFrameView for use by windows in the
277 // Ash environment. 273 // Ash environment.
278 views::NonClientFrameView* CreateDefaultNonClientFrameView( 274 views::NonClientFrameView* CreateDefaultNonClientFrameView(
279 views::Widget* widget); 275 views::Widget* widget);
280 276
281 // Sets work area insets of the display containing |window|, pings observers. 277 // Sets work area insets of the display containing |window|, pings observers.
282 void SetDisplayWorkAreaInsets(aura::Window* window, 278 void SetDisplayWorkAreaInsets(aura::Window* window,
283 const gfx::Insets& insets); 279 const gfx::Insets& insets);
284 280
285 // Called when a casting session is started or stopped. 281 // Called when a casting session is started or stopped.
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 base::ObserverList<ShellObserver> shell_observers_; 833 base::ObserverList<ShellObserver> shell_observers_;
838 834
839 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 835 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
840 836
841 DISALLOW_COPY_AND_ASSIGN(Shell); 837 DISALLOW_COPY_AND_ASSIGN(Shell);
842 }; 838 };
843 839
844 } // namespace ash 840 } // namespace ash
845 841
846 #endif // ASH_SHELL_H_ 842 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/mus/touch_transform_setter_mus.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698