| 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 SERVICES_NAVIGATION_VIEW_IMPL_H_ | 5 #ifndef SERVICES_NAVIGATION_VIEW_IMPL_H_ |
| 6 #define SERVICES_NAVIGATION_VIEW_IMPL_H_ | 6 #define SERVICES_NAVIGATION_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
| 12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
| 13 #include "content/public/browser/web_contents_delegate.h" | 13 #include "content/public/browser/web_contents_delegate.h" |
| 14 #include "mojo/public/cpp/bindings/binding_set.h" | 14 #include "mojo/public/cpp/bindings/binding_set.h" |
| 15 #include "services/navigation/public/interfaces/view.mojom.h" | 15 #include "services/navigation/public/interfaces/view.mojom.h" |
| 16 #include "services/service_manager/public/cpp/connector.h" |
| 16 #include "services/service_manager/public/cpp/interface_factory.h" | 17 #include "services/service_manager/public/cpp/interface_factory.h" |
| 17 #include "services/service_manager/public/cpp/service.h" | 18 #include "services/service_manager/public/cpp/service.h" |
| 18 #include "services/service_manager/public/cpp/service_context_ref.h" | 19 #include "services/service_manager/public/cpp/service_context_ref.h" |
| 19 #include "services/ui/public/cpp/window_tree_client_delegate.h" | 20 #include "services/ui/public/cpp/window_tree_client_delegate.h" |
| 20 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
| 21 #include "ui/views/widget/widget_delegate.h" | 22 #include "ui/views/widget/widget_delegate.h" |
| 22 | 23 |
| 23 namespace views { | 24 namespace views { |
| 24 class WebView; | 25 class WebView; |
| 25 class Widget; | 26 class Widget; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 content::NotificationRegistrar registrar_; | 101 content::NotificationRegistrar registrar_; |
| 101 | 102 |
| 102 std::unique_ptr<views::Widget> widget_; | 103 std::unique_ptr<views::Widget> widget_; |
| 103 | 104 |
| 104 DISALLOW_COPY_AND_ASSIGN(ViewImpl); | 105 DISALLOW_COPY_AND_ASSIGN(ViewImpl); |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // navigation | 108 } // navigation |
| 108 | 109 |
| 109 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ | 110 #endif // SERVICES_NAVIGATION_VIEW_IMPL_H_ |
| OLD | NEW |