| 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_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ | 5 #ifndef IOS_WEB_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ |
| 6 #define IOS_WEB_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ | 6 #define IOS_WEB_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 class GURL; | |
| 11 | |
| 12 namespace base { | 10 namespace base { |
| 13 class DictionaryValue; | |
| 14 class ListValue; | 11 class ListValue; |
| 15 } | 12 } |
| 16 | 13 |
| 17 namespace web { | 14 namespace web { |
| 18 | 15 |
| 19 class WebUIIOS; | 16 class WebUIIOS; |
| 20 class WebUIIOSImpl; | 17 class WebUIIOSImpl; |
| 21 | 18 |
| 22 // Messages sent from the DOM are forwarded via the WebUIIOS to handler | 19 // Messages sent from the DOM are forwarded via the WebUIIOS to handler |
| 23 // classes. These objects are owned by WebUIIOS and destroyed when the | 20 // classes. These objects are owned by WebUIIOS and destroyed when the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 54 private: | 51 private: |
| 55 // Provide external classes access to web_ui() and set_web_ui(). | 52 // Provide external classes access to web_ui() and set_web_ui(). |
| 56 friend class WebUIIOSImpl; | 53 friend class WebUIIOSImpl; |
| 57 | 54 |
| 58 WebUIIOS* web_ui_; | 55 WebUIIOS* web_ui_; |
| 59 }; | 56 }; |
| 60 | 57 |
| 61 } // namespace web | 58 } // namespace web |
| 62 | 59 |
| 63 #endif // IOS_WEB_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ | 60 #endif // IOS_WEB_PUBLIC_WEBUI_WEB_UI_IOS_MESSAGE_HANDLER_H_ |
| OLD | NEW |