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

Unified Diff: content/public/browser/context_factory.h

Issue 276973002: Adds getter for ContextFactory to content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/context_factory.h
diff --git a/content/public/browser/context_factory.h b/content/public/browser/context_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..07f2462279b0499b34ed62b09cce72c9c77e8a22
--- /dev/null
+++ b/content/public/browser/context_factory.h
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_
+#define CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_
+
+#include "content/common/content_export.h"
+
+namespace ui {
+class ContextFactory;
+}
+
+namespace content {
+
+// Returns the singleton ContextFactory used by content. The return value is
+// owned by content.
+CONTENT_EXPORT ui::ContextFactory* GetContextFactory();
piman 2014/05/09 17:52:40 nit: should this be in #if defined(USE_AURA), to m
sky 2014/05/09 18:04:52 I tend to think it should be up to callers to do t
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_CONTEXT_FACTORY_H_
« content/browser/compositor/image_transport_factory.h ('K') | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698