| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_COMMON_NEW_WINDOW_CONTROLLER_H_ | 5 #ifndef ASH_NEW_WINDOW_CONTROLLER_H_ |
| 6 #define ASH_COMMON_NEW_WINDOW_CONTROLLER_H_ | 6 #define ASH_NEW_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/public/interfaces/new_window.mojom.h" | 8 #include "ash/public/interfaces/new_window.mojom.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "mojo/public/cpp/bindings/associated_binding.h" | 10 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 11 #include "mojo/public/cpp/bindings/binding_set.h" | 11 #include "mojo/public/cpp/bindings/binding_set.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 | 14 |
| 15 // Provides the NewWindowController interface to the outside world. This lets a | 15 // Provides the NewWindowController interface to the outside world. This lets a |
| 16 // consumer of ash provide a NewWindowClient, which we will dispatch to if one | 16 // consumer of ash provide a NewWindowClient, which we will dispatch to if one |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 mojo::BindingSet<mojom::NewWindowController> bindings_; | 41 mojo::BindingSet<mojom::NewWindowController> bindings_; |
| 42 | 42 |
| 43 mojom::NewWindowClientAssociatedPtr client_; | 43 mojom::NewWindowClientAssociatedPtr client_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(NewWindowController); | 45 DISALLOW_COPY_AND_ASSIGN(NewWindowController); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace ash | 48 } // namespace ash |
| 49 | 49 |
| 50 #endif // ASH_COMMON_NEW_WINDOW_CONTROLLER_H_ | 50 #endif // ASH_NEW_WINDOW_CONTROLLER_H_ |
| OLD | NEW |