| OLD | NEW |
| 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 #ifndef MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 5 #ifndef MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
| 6 #define MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 6 #define MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "mojo/application/public/cpp/application_delegate.h" | 8 #include "mojo/application/public/cpp/application_delegate.h" |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 void Initialize(ApplicationImpl* app) override; | 29 void Initialize(ApplicationImpl* app) override; |
| 30 bool ConfigureIncomingConnection(ApplicationConnection* connection) override; | 30 bool ConfigureIncomingConnection(ApplicationConnection* connection) override; |
| 31 | 31 |
| 32 // Overridden from InterfaceFactory<mojom::ApplicationManager>: | 32 // Overridden from InterfaceFactory<mojom::ApplicationManager>: |
| 33 void Create( | 33 void Create( |
| 34 ApplicationConnection* connection, | 34 ApplicationConnection* connection, |
| 35 InterfaceRequest<mojom::ApplicationManager> request) override; | 35 InterfaceRequest<mojom::ApplicationManager> request) override; |
| 36 | 36 |
| 37 // Overridden from mojom::ApplicationManager: | 37 // Overridden from mojom::ApplicationManager: |
| 38 void CreateInstanceForHandle(ScopedHandle channel, | 38 void CreateInstanceForHandle(ScopedHandle channel, |
| 39 const String& url, | 39 const String& url) override; |
| 40 const String& qualifier) override; | |
| 41 | 40 |
| 42 mojo::shell::ApplicationManager* manager_; | 41 mojo::shell::ApplicationManager* manager_; |
| 43 | 42 |
| 44 WeakBindingSet<mojom::ApplicationManager> bindings_; | 43 WeakBindingSet<mojom::ApplicationManager> bindings_; |
| 45 | 44 |
| 46 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate); |
| 47 }; | 46 }; |
| 48 | 47 |
| 49 } // namespace shell | 48 } // namespace shell |
| 50 } // namespace mojo | 49 } // namespace mojo |
| 51 | 50 |
| 52 #endif // MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 51 #endif // MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
| OLD | NEW |