OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/shell/public/cpp/application_delegate.h" | 5 #include "mojo/shell/public/cpp/application_delegate.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 | 8 |
9 ApplicationDelegate::ApplicationDelegate() { | 9 ApplicationDelegate::ApplicationDelegate() { |
10 } | 10 } |
11 ApplicationDelegate::~ApplicationDelegate() { | 11 ApplicationDelegate::~ApplicationDelegate() { |
12 } | 12 } |
13 | 13 |
14 void ApplicationDelegate::Initialize(ApplicationImpl* app) { | 14 void ApplicationDelegate::Initialize(Shell* app, const std::string& url, |
| 15 uint32_t id) { |
15 } | 16 } |
16 | 17 |
17 bool ApplicationDelegate::AcceptConnection(ApplicationConnection* connection) { | 18 bool ApplicationDelegate::AcceptConnection(ApplicationConnection* connection) { |
18 return true; | 19 return true; |
19 } | 20 } |
20 | 21 |
21 bool ApplicationDelegate::ShellConnectionLost() { | 22 bool ApplicationDelegate::ShellConnectionLost() { |
22 return true; | 23 return true; |
23 } | 24 } |
24 | 25 |
25 void ApplicationDelegate::Quit() { | 26 void ApplicationDelegate::Quit() { |
26 } | 27 } |
27 | 28 |
28 } // namespace mojo | 29 } // namespace mojo |
OLD | NEW |