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

Side by Side Diff: ash/shell.h

Issue 273073002: Changes code using Compositor to pass in ContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tooltip on chromeos Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ash/host/ash_window_tree_host_x11_unittest.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 <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 } 43 }
44 44
45 namespace gfx { 45 namespace gfx {
46 class ImageSkia; 46 class ImageSkia;
47 class Point; 47 class Point;
48 class Rect; 48 class Rect;
49 } 49 }
50 50
51 namespace ui { 51 namespace ui {
52 class ContextFactory;
52 class DisplayConfigurator; 53 class DisplayConfigurator;
53 class Layer; 54 class Layer;
54 class UserActivityPowerManagerNotifier; 55 class UserActivityPowerManagerNotifier;
55 } 56 }
56 namespace views { 57 namespace views {
57 class NonClientFrameView; 58 class NonClientFrameView;
58 class Widget; 59 class Widget;
59 namespace corewm { 60 namespace corewm {
60 class TooltipController; 61 class TooltipController;
61 } 62 }
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); 573 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors);
573 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate); 574 FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, TransformActivate);
574 friend class RootWindowController; 575 friend class RootWindowController;
575 friend class ScopedTargetRootWindow; 576 friend class ScopedTargetRootWindow;
576 friend class test::ShellTestApi; 577 friend class test::ShellTestApi;
577 friend class shell::WindowWatcher; 578 friend class shell::WindowWatcher;
578 579
579 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; 580 typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair;
580 581
581 // Takes ownership of |delegate|. 582 // Takes ownership of |delegate|.
582 explicit Shell(ShellDelegate* delegate); 583 Shell(ShellDelegate* delegate, ui::ContextFactory* context_factory);
583 virtual ~Shell(); 584 virtual ~Shell();
584 585
585 void Init(const ShellInitParams& init_params); 586 void Init(const ShellInitParams& init_params);
586 587
587 // Initializes virtual keyboard controller. 588 // Initializes virtual keyboard controller.
588 void InitKeyboard(); 589 void InitKeyboard();
589 590
590 // Initializes the root window so that it can host browser windows. 591 // Initializes the root window so that it can host browser windows.
591 void InitRootWindow(aura::Window* root_window); 592 void InitRootWindow(aura::Window* root_window);
592 593
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 753
753 // Injected content::GPUDataManager support. 754 // Injected content::GPUDataManager support.
754 scoped_ptr<GPUSupport> gpu_support_; 755 scoped_ptr<GPUSupport> gpu_support_;
755 756
756 DISALLOW_COPY_AND_ASSIGN(Shell); 757 DISALLOW_COPY_AND_ASSIGN(Shell);
757 }; 758 };
758 759
759 } // namespace ash 760 } // namespace ash
760 761
761 #endif // ASH_SHELL_H_ 762 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host_x11_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698