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 #ifndef IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ | 5 #ifndef IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ |
6 #define IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ | 6 #define IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "ios/public/provider/web/web_ui_ios.h" | 15 #include "ios/web/public/webui/web_ui_ios.h" |
16 | 16 |
17 namespace web { | 17 namespace web { |
18 class WebStateImpl; | 18 class WebStateImpl; |
19 } | 19 } |
20 | 20 |
21 namespace web { | 21 namespace web { |
22 | 22 |
23 class WebUIIOSImpl : public web::WebUIIOS, | 23 class WebUIIOSImpl : public web::WebUIIOS, |
24 public base::SupportsWeakPtr<WebUIIOSImpl> { | 24 public base::SupportsWeakPtr<WebUIIOSImpl> { |
25 public: | 25 public: |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 WebStateImpl* web_state_; | 71 WebStateImpl* web_state_; |
72 | 72 |
73 std::unique_ptr<WebUIIOSController> controller_; | 73 std::unique_ptr<WebUIIOSController> controller_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(WebUIIOSImpl); | 75 DISALLOW_COPY_AND_ASSIGN(WebUIIOSImpl); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace web | 78 } // namespace web |
79 | 79 |
80 #endif // IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ | 80 #endif // IOS_WEB_WEBUI_WEB_UI_IOS_IMPL_H_ |
OLD | NEW |