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

Side by Side Diff: extensions/shell/browser/shell_desktop_controller_aura.h

Issue 972153004: Make ui::DisplayConfigurator a singleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make a Singleton Created 5 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void CreateRootWindow(); 104 void CreateRootWindow();
105 105
106 // Closes and destroys the root window hosting the app. 106 // Closes and destroys the root window hosting the app.
107 void DestroyRootWindow(); 107 void DestroyRootWindow();
108 108
109 // Returns the dimensions (in pixels) of the primary display, or an empty size 109 // Returns the dimensions (in pixels) of the primary display, or an empty size
110 // if the dimensions can't be determined or no display is connected. 110 // if the dimensions can't be determined or no display is connected.
111 gfx::Size GetPrimaryDisplaySize(); 111 gfx::Size GetPrimaryDisplaySize();
112 112
113 #if defined(OS_CHROMEOS) 113 #if defined(OS_CHROMEOS)
114 scoped_ptr<ui::DisplayConfigurator> display_configurator_; 114 ui::DisplayConfigurator* display_configurator_;
115 #endif 115 #endif
116 116
117 scoped_ptr<ShellScreen> screen_; 117 scoped_ptr<ShellScreen> screen_;
118 118
119 scoped_ptr<aura::WindowTreeHost> host_; 119 scoped_ptr<aura::WindowTreeHost> host_;
120 120
121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_; 121 scoped_ptr<wm::CompoundEventFilter> root_window_event_filter_;
122 122
123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 123 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
124 124
(...skipping 12 matching lines...) Expand all
137 137
138 // NativeAppWindow::Close() deletes the AppWindow. 138 // NativeAppWindow::Close() deletes the AppWindow.
139 std::vector<AppWindow*> app_windows_; 139 std::vector<AppWindow*> app_windows_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura); 141 DISALLOW_COPY_AND_ASSIGN(ShellDesktopControllerAura);
142 }; 142 };
143 143
144 } // namespace extensions 144 } // namespace extensions
145 145
146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_ 146 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DESKTOP_CONTROLLER_AURA_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | extensions/shell/browser/shell_desktop_controller_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698