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

Unified Diff: ui/views/test/test_views_delegate.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/test/scoped_views_test_helper.cc ('k') | ui/views/test/test_views_delegate_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views_delegate.h
diff --git a/ui/views/test/test_views_delegate.h b/ui/views/test/test_views_delegate.h
index e1986ab37bf39b21505bacf3a401f84bab6148cb..588b0d37d4c804cf63312ec66758d3a1bb4bfea8 100644
--- a/ui/views/test/test_views_delegate.h
+++ b/ui/views/test/test_views_delegate.h
@@ -34,6 +34,11 @@ class TestViewsDelegate : public ViewsDelegate {
context_factory_ = context_factory;
}
+ void set_context_factory_private(
+ ui::ContextFactoryPrivate* context_factory_private) {
+ context_factory_private_ = context_factory_private;
+ }
+
// ViewsDelegate:
#if defined(OS_WIN)
HICON GetSmallWindowIcon() const override;
@@ -41,9 +46,11 @@ class TestViewsDelegate : public ViewsDelegate {
void OnBeforeWidgetInit(Widget::InitParams* params,
internal::NativeWidgetDelegate* delegate) override;
ui::ContextFactory* GetContextFactory() override;
+ ui::ContextFactoryPrivate* GetContextFactoryPrivate() override;
private:
ui::ContextFactory* context_factory_;
+ ui::ContextFactoryPrivate* context_factory_private_;
bool use_desktop_native_widgets_;
bool use_transparent_windows_;
« no previous file with comments | « ui/views/test/scoped_views_test_helper.cc ('k') | ui/views/test/test_views_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698