| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ |
| 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ | 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ios/web/public/favicon_url.h" | 10 #include "ios/web/public/favicon_url.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Arguments passed to |NavigationItemChanged|. | 62 // Arguments passed to |NavigationItemChanged|. |
| 63 struct TestNavigationItemChangedInfo { | 63 struct TestNavigationItemChangedInfo { |
| 64 WebState* web_state; | 64 WebState* web_state; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 // Arguments passed to |TitleWasSet|. | 67 // Arguments passed to |TitleWasSet|. |
| 68 struct TestTitleWasSetInfo { | 68 struct TestTitleWasSetInfo { |
| 69 WebState* web_state; | 69 WebState* web_state; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 // Arguments passed to |DidChangeVisibleSecurityState|. |
| 73 struct TestDidChangeVisibleSecurityStateInfo { |
| 74 WebState* web_state; |
| 75 }; |
| 76 |
| 72 // Arguments passed to |DocumentSubmitted|. | 77 // Arguments passed to |DocumentSubmitted|. |
| 73 struct TestSubmitDocumentInfo { | 78 struct TestSubmitDocumentInfo { |
| 74 WebState* web_state; | 79 WebState* web_state; |
| 75 std::string form_name; | 80 std::string form_name; |
| 76 bool user_initiated; | 81 bool user_initiated; |
| 77 }; | 82 }; |
| 78 | 83 |
| 79 // Arguments passed to |FormActivityRegistered|. | 84 // Arguments passed to |FormActivityRegistered|. |
| 80 struct TestFormActivityInfo { | 85 struct TestFormActivityInfo { |
| 81 TestFormActivityInfo(); | 86 TestFormActivityInfo(); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 112 }; | 117 }; |
| 113 | 118 |
| 114 // Arguments passed to |DidStopLoading|. | 119 // Arguments passed to |DidStopLoading|. |
| 115 struct TestStopLoadingInfo { | 120 struct TestStopLoadingInfo { |
| 116 WebState* web_state; | 121 WebState* web_state; |
| 117 }; | 122 }; |
| 118 | 123 |
| 119 } // namespace web | 124 } // namespace web |
| 120 | 125 |
| 121 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ | 126 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ |
| OLD | NEW |