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

Side by Side Diff: components/mus/example/mock_sysui/mock_sysui.cc

Issue 1459453003: mandoline: write this after lunch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TracingImpls to mus and mash, fix naming. Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "components/mus/example/mock_sysui/mock_sysui.h" 5 #include "components/mus/example/mock_sysui/mock_sysui.h"
6 6
7 #include "components/mus/public/cpp/property_type_converters.h" 7 #include "components/mus/public/cpp/property_type_converters.h"
8 #include "mash/wm/public/interfaces/container.mojom.h" 8 #include "mash/wm/public/interfaces/container.mojom.h"
9 #include "mojo/application/public/cpp/application_connection.h" 9 #include "mojo/application/public/cpp/application_connection.h"
10 #include "mojo/application/public/cpp/application_impl.h" 10 #include "mojo/application/public/cpp/application_impl.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }; 88 };
89 89
90 } // namespace 90 } // namespace
91 91
92 MockSysUI::MockSysUI() {} 92 MockSysUI::MockSysUI() {}
93 93
94 MockSysUI::~MockSysUI() { 94 MockSysUI::~MockSysUI() {
95 } 95 }
96 96
97 void MockSysUI::Initialize(mojo::ApplicationImpl* app) { 97 void MockSysUI::Initialize(mojo::ApplicationImpl* app) {
98 tracing_.Initialize(app);
99
98 aura_init_.reset(new views::AuraInit(app, "views_mus_resources.pak")); 100 aura_init_.reset(new views::AuraInit(app, "views_mus_resources.pak"));
99 views::WindowManagerConnection::Create(app); 101 views::WindowManagerConnection::Create(app);
100 102
101 DesktopBackground::Create(app->shell()); 103 DesktopBackground::Create(app->shell());
102 Shelf::Create(app->shell()); 104 Shelf::Create(app->shell());
103 } 105 }
104 106
105 bool MockSysUI::ConfigureIncomingConnection( 107 bool MockSysUI::ConfigureIncomingConnection(
106 mojo::ApplicationConnection* connection) { 108 mojo::ApplicationConnection* connection) {
107 return false; 109 return false;
108 } 110 }
OLDNEW
« no previous file with comments | « components/mus/example/mock_sysui/mock_sysui.h ('k') | components/mus/example/views_examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698