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

Side by Side Diff: trunk/src/ash/shell.h

Issue 137893010: Revert 245010 "Inject GPUDataManager support into ash to abstrac..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/ash/screensaver/screensaver_view.h ('k') | trunk/src/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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 namespace ash { 76 namespace ash {
77 77
78 class AcceleratorController; 78 class AcceleratorController;
79 class AccessibilityDelegate; 79 class AccessibilityDelegate;
80 class AshNativeCursorManager; 80 class AshNativeCursorManager;
81 class AutoclickController; 81 class AutoclickController;
82 class CapsLockDelegate; 82 class CapsLockDelegate;
83 class DesktopBackgroundController; 83 class DesktopBackgroundController;
84 class DisplayController; 84 class DisplayController;
85 class FirstRunHelper; 85 class FirstRunHelper;
86 class GPUSupport;
87 class HighContrastController; 86 class HighContrastController;
88 class LockStateController; 87 class LockStateController;
89 class MagnificationController; 88 class MagnificationController;
90 class MediaDelegate; 89 class MediaDelegate;
91 class MruWindowTracker; 90 class MruWindowTracker;
92 class NestedDispatcherController; 91 class NestedDispatcherController;
93 class NewWindowDelegate; 92 class NewWindowDelegate;
94 class PartialMagnificationController; 93 class PartialMagnificationController;
95 class PowerButtonController; 94 class PowerButtonController;
96 class WindowTreeHostFactory; 95 class WindowTreeHostFactory;
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 #if defined(OS_CHROMEOS) 528 #if defined(OS_CHROMEOS)
530 // Creates instance of FirstRunHelper. Caller is responsible for deleting 529 // Creates instance of FirstRunHelper. Caller is responsible for deleting
531 // returned object. 530 // returned object.
532 ash::FirstRunHelper* CreateFirstRunHelper(); 531 ash::FirstRunHelper* CreateFirstRunHelper();
533 532
534 StickyKeysController* sticky_keys_controller() { 533 StickyKeysController* sticky_keys_controller() {
535 return sticky_keys_controller_.get(); 534 return sticky_keys_controller_.get();
536 } 535 }
537 #endif // defined(OS_CHROMEOS) 536 #endif // defined(OS_CHROMEOS)
538 537
539 GPUSupport* gpu_support() { return gpu_support_.get(); }
540 void SetGPUSupport(scoped_ptr<GPUSupport> gpu_support);
541
542 private: 538 private:
543 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); 539 FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor);
544 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); 540 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors);
545 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); 541 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate);
546 friend class internal::RootWindowController; 542 friend class internal::RootWindowController;
547 friend class internal::ScopedTargetRootWindow; 543 friend class internal::ScopedTargetRootWindow;
548 friend class test::ShellTestApi; 544 friend class test::ShellTestApi;
549 friend class shell::WindowWatcher; 545 friend class shell::WindowWatcher;
550 546
551 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; 547 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 AshNativeCursorManager* native_cursor_manager_; 700 AshNativeCursorManager* native_cursor_manager_;
705 views::corewm::CursorManager cursor_manager_; 701 views::corewm::CursorManager cursor_manager_;
706 702
707 ObserverList<ShellObserver> observers_; 703 ObserverList<ShellObserver> observers_;
708 704
709 // For testing only: simulate that a modal window is open 705 // For testing only: simulate that a modal window is open
710 bool simulate_modal_window_open_for_testing_; 706 bool simulate_modal_window_open_for_testing_;
711 707
712 bool is_touch_hud_projection_enabled_; 708 bool is_touch_hud_projection_enabled_;
713 709
714 // Injected content::GPUDataManager support.
715 scoped_ptr<GPUSupport> gpu_support_;
716
717 DISALLOW_COPY_AND_ASSIGN(Shell); 710 DISALLOW_COPY_AND_ASSIGN(Shell);
718 }; 711 };
719 712
720 } // namespace ash 713 } // namespace ash
721 714
722 #endif // ASH_SHELL_H_ 715 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « trunk/src/ash/screensaver/screensaver_view.h ('k') | trunk/src/ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698