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

Side by Side Diff: content/public/browser/context_factory.h

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years 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 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();
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ('k') | content/public/test/test_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698