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

Side by Side Diff: components/mus/display_manager_factory.h

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
« no previous file with comments | « components/mus/display_manager_delegate.h ('k') | components/mus/event_dispatcher.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_ 5 #ifndef COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_
6 #define COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_ 6 #define COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_
7 7
8 #include "components/mus/gles2/gpu_state.h" 8 #include "components/mus/gles2/gpu_state.h"
9 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" 9 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h"
10 10
11 namespace mojo { 11 namespace mus {
12 class ApplicationImpl; 12 class ApplicationImpl;
13 } // namespace mojo 13 } // namespace mus
14 14
15 namespace view_manager { 15 namespace mus {
16 16
17 class DisplayManager; 17 class DisplayManager;
18 18
19 // Abstract factory for DisplayManagers. Used by tests to construct test 19 // Abstract factory for DisplayManagers. Used by tests to construct test
20 // DisplayManagers. 20 // DisplayManagers.
21 class DisplayManagerFactory { 21 class DisplayManagerFactory {
22 public: 22 public:
23 virtual DisplayManager* CreateDisplayManager( 23 virtual DisplayManager* CreateDisplayManager(
24 bool is_headless, 24 bool is_headless,
25 mojo::ApplicationImpl* app_impl, 25 mojo::ApplicationImpl* app_impl,
26 const scoped_refptr<gles2::GpuState>& gpu_state, 26 const scoped_refptr<GpuState>& gpu_state,
27 const scoped_refptr<surfaces::SurfacesState>& surfaces_state) = 0; 27 const scoped_refptr<SurfacesState>& surfaces_state) = 0;
28 }; 28 };
29 29
30 } // namespace view_manager 30 } // namespace mus
31 31
32 #endif // COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_ 32 #endif // COMPONENTS_MUS_DISPLAY_MANAGER_FACTORY_H_
OLDNEW
« no previous file with comments | « components/mus/display_manager_delegate.h ('k') | components/mus/event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698