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

Side by Side Diff: mash/example/main/main_application_delegate.cc

Issue 1560223002: Add quick launcher for launching mojo apps from within mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher
Patch Set: . Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « mash/example/main/main_application_delegate.h ('k') | mash/quick_launch/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mash/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:mash_shell"));
16 connections_.push_back(app->ConnectToApplication("mojo:views_examples"));
17 connections_.push_back(
18 app->ConnectToApplication("exe:window_type_launcher_exe"));
19 connections_.push_back(app->ConnectToApplication("mojo:task_viewer"));
20 }
21
22 bool MainApplicationDelegate::ConfigureIncomingConnection(
23 mojo::ApplicationConnection* connection) {
24 return false;
25 }
OLDNEW
« no previous file with comments | « mash/example/main/main_application_delegate.h ('k') | mash/quick_launch/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698