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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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|. | 72 // Arguments passed to |DidChangeVisibleSecurityState|. |
73 struct TestDidChangeVisibleSecurityStateInfo { | 73 struct TestDidChangeVisibleSecurityStateInfo { |
74 WebState* web_state; | 74 WebState* web_state; |
75 }; | 75 }; |
76 | 76 |
| 77 // Arguments passed to |DidSuppressDialog|. |
| 78 struct TestDidSuppressDialogInfo { |
| 79 WebState* web_state; |
| 80 }; |
| 81 |
77 // Arguments passed to |DocumentSubmitted|. | 82 // Arguments passed to |DocumentSubmitted|. |
78 struct TestSubmitDocumentInfo { | 83 struct TestSubmitDocumentInfo { |
79 WebState* web_state; | 84 WebState* web_state; |
80 std::string form_name; | 85 std::string form_name; |
81 bool user_initiated; | 86 bool user_initiated; |
82 }; | 87 }; |
83 | 88 |
84 // Arguments passed to |FormActivityRegistered|. | 89 // Arguments passed to |FormActivityRegistered|. |
85 struct TestFormActivityInfo { | 90 struct TestFormActivityInfo { |
86 TestFormActivityInfo(); | 91 TestFormActivityInfo(); |
(...skipping 30 matching lines...) Expand all Loading... |
117 }; | 122 }; |
118 | 123 |
119 // Arguments passed to |DidStopLoading|. | 124 // Arguments passed to |DidStopLoading|. |
120 struct TestStopLoadingInfo { | 125 struct TestStopLoadingInfo { |
121 WebState* web_state; | 126 WebState* web_state; |
122 }; | 127 }; |
123 | 128 |
124 } // namespace web | 129 } // namespace web |
125 | 130 |
126 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ | 131 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_UTIL_H_ |
OLD | NEW |