| 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 COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ | 5 #ifndef COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ |
| 6 #define COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ | 6 #define COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "components/web_view/public/interfaces/web_view.mojom.h" | 10 #include "components/web_view/public/interfaces/web_view.mojom.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 11 #include "mojo/public/cpp/bindings/binding.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 class ApplicationImpl; | 14 class ApplicationImpl; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 class Window; | 18 class Window; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace web_view { | 21 namespace web_view { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 32 private: | 32 private: |
| 33 mojom::WebViewPtr web_view_; | 33 mojom::WebViewPtr web_view_; |
| 34 mojo::Binding<mojom::WebViewClient> binding_; | 34 mojo::Binding<mojom::WebViewClient> binding_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(WebView); | 36 DISALLOW_COPY_AND_ASSIGN(WebView); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace web_view | 39 } // namespace web_view |
| 40 | 40 |
| 41 #endif // COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ | 41 #endif // COMPONENTS_WEB_VIEW_PUBLIC_CPP_WEB_VIEW_H_ |
| OLD | NEW |