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

Side by Side Diff: components/mus/example/main/main_application_delegate.cc

Issue 1469733004: Moves components/mus/examples into mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add Created 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/mus/example/main/main_application_delegate.h"
6
7 #include "mojo/application/public/cpp/application_connection.h"
8 #include "mojo/application/public/cpp/application_impl.h"
9
10 MainApplicationDelegate::MainApplicationDelegate() {}
11
12 MainApplicationDelegate::~MainApplicationDelegate() {}
13
14 void MainApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
15 connections_.push_back(app->ConnectToApplication("mojo:example_wm"));
16 connections_.push_back(app->ConnectToApplication("mojo:mock_sysui"));
17 connections_.push_back(app->ConnectToApplication("mojo:views_examples"));
18 connections_.push_back(
19 app->ConnectToApplication("exe:window_type_launcher_exe"));
20 connections_.push_back(app->ConnectToApplication("exe:chrome"));
21 }
22
23 bool MainApplicationDelegate::ConfigureIncomingConnection(
24 mojo::ApplicationConnection* connection) {
25 return false;
26 }
OLDNEW
« no previous file with comments | « components/mus/example/main/main_application_delegate.h ('k') | components/mus/example/mock_sysui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698