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

Side by Side Diff: ash/shell.h

Issue 902123002: Fix initial hiding and centering cursor on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 } 486 }
487 487
488 SystemTrayNotifier* system_tray_notifier() { 488 SystemTrayNotifier* system_tray_notifier() {
489 return system_tray_notifier_.get(); 489 return system_tray_notifier_.get();
490 } 490 }
491 491
492 static void set_initially_hide_cursor(bool hide) { 492 static void set_initially_hide_cursor(bool hide) {
493 initially_hide_cursor_ = hide; 493 initially_hide_cursor_ = hide;
494 } 494 }
495 495
496 static bool initially_hide_cursor() { return initially_hide_cursor_; }
497
496 ResizeShadowController* resize_shadow_controller() { 498 ResizeShadowController* resize_shadow_controller() {
497 return resize_shadow_controller_.get(); 499 return resize_shadow_controller_.get();
498 } 500 }
499 501
500 // Made available for tests. 502 // Made available for tests.
501 ::wm::ShadowController* shadow_controller() { 503 ::wm::ShadowController* shadow_controller() {
502 return shadow_controller_.get(); 504 return shadow_controller_.get();
503 } 505 }
504 506
505 // Starts the animation that occurs on first login. 507 // Starts the animation that occurs on first login.
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 758
757 // Injected content::GPUDataManager support. 759 // Injected content::GPUDataManager support.
758 scoped_ptr<GPUSupport> gpu_support_; 760 scoped_ptr<GPUSupport> gpu_support_;
759 761
760 DISALLOW_COPY_AND_ASSIGN(Shell); 762 DISALLOW_COPY_AND_ASSIGN(Shell);
761 }; 763 };
762 764
763 } // namespace ash 765 } // namespace ash
764 766
765 #endif // ASH_SHELL_H_ 767 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698