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

Unified Diff: chrome/browser/ui/views/chrome_views_delegate.cc

Issue 284233009: Adds ViewsDelegate::GetContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more spaces 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
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.h ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chrome_views_delegate.cc
diff --git a/chrome/browser/ui/views/chrome_views_delegate.cc b/chrome/browser/ui/views/chrome_views_delegate.cc
index 362658772b6d897742389d7ff9538267f67fd2b2..21dae89bd605fc28db8985094ddc8cb2c6d743d1 100644
--- a/chrome/browser/ui/views/chrome_views_delegate.cc
+++ b/chrome/browser/ui/views/chrome_views_delegate.cc
@@ -33,6 +33,7 @@
#endif
#if defined(USE_AURA)
+#include "content/public/browser/context_factory.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#endif
@@ -371,6 +372,12 @@ bool ChromeViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
}
#endif
+#if defined(USE_AURA)
+ui::ContextFactory* ChromeViewsDelegate::GetContextFactory() {
+ return content::GetContextFactory();
+}
+#endif
+
#if defined(OS_WIN)
int ChromeViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor,
const base::Closure& callback) {
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.h ('k') | ui/views/test/test_views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698