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

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

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

Powered by Google App Engine
This is Rietveld 408576698