OLD | NEW |
---|---|
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 CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
11 class ContextFactory; | 11 class ContextFactory; |
12 class ContextFactoryPrivate; | |
12 } | 13 } |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 // Returns the singleton ContextFactory used by content. The return value is | 17 // Returns the singleton ContextFactory used by content. The return value is |
17 // owned by content. | 18 // owned by content. |
18 CONTENT_EXPORT ui::ContextFactory* GetContextFactory(); | 19 CONTENT_EXPORT ui::ContextFactory* GetContextFactory(); |
19 | 20 |
21 // Returns the singleton ContextFactoryPrivate used by content. The return value | |
22 // is owned by content. | |
23 // TODO(fsamuel): Once Mus is used on all platforms, this private interface | |
24 // should not be necessary. | |
25 CONTENT_EXPORT ui::ContextFactoryPrivate* GetContextFactoryPrivate(); | |
rjkroege
2016/12/08 23:42:59
so in a mus context, there should be no calls to t
Fady Samuel
2016/12/13 19:13:59
There will be for now. Apps that use the Mus clien
| |
26 | |
20 } // namespace content | 27 } // namespace content |
21 | 28 |
22 #endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ | 29 #endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_ |
OLD | NEW |