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

Side by Side Diff: ash/shell.h

Issue 139053003: Chrome OS: avoid suspending on lid close when casting is active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another nit. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|. 279 // TODO(oshima): Investigate if we can merge this and |OnLoginStateChanged|.
280 void UpdateAfterLoginStatusChange(user::LoginStatus status); 280 void UpdateAfterLoginStatusChange(user::LoginStatus status);
281 281
282 // Called when the application is exiting. 282 // Called when the application is exiting.
283 void OnAppTerminating(); 283 void OnAppTerminating();
284 284
285 // Called when the screen is locked (after the lock window is visible) or 285 // Called when the screen is locked (after the lock window is visible) or
286 // unlocked. 286 // unlocked.
287 void OnLockStateChanged(bool locked); 287 void OnLockStateChanged(bool locked);
288 288
289 // Called when a casting session is started or stopped.
290 void OnCastingSessionStartedOrStopped(bool started);
291
289 // Initializes |shelf_|. Does nothing if it's already initialized. 292 // Initializes |shelf_|. Does nothing if it's already initialized.
290 void CreateShelf(); 293 void CreateShelf();
291 294
292 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already 295 // Creates virtual keyboard. Deletes the old virtual keyboard if it's already
293 // exist. 296 // exist.
294 void CreateKeyboard(); 297 void CreateKeyboard();
295 298
296 // Show shelf view if it was created hidden (before session has started). 299 // Show shelf view if it was created hidden (before session has started).
297 void ShowShelf(); 300 void ShowShelf();
298 301
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 716
714 // Injected content::GPUDataManager support. 717 // Injected content::GPUDataManager support.
715 scoped_ptr<GPUSupport> gpu_support_; 718 scoped_ptr<GPUSupport> gpu_support_;
716 719
717 DISALLOW_COPY_AND_ASSIGN(Shell); 720 DISALLOW_COPY_AND_ASSIGN(Shell);
718 }; 721 };
719 722
720 } // namespace ash 723 } // namespace ash
721 724
722 #endif // ASH_SHELL_H_ 725 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698