OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEB_STATE_WEB_STATE_IMPL_H_ | 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void OnPageLoaded(const GURL& url, bool load_success); | 107 void OnPageLoaded(const GURL& url, bool load_success); |
108 | 108 |
109 // Called on form submission. | 109 // Called on form submission. |
110 void OnDocumentSubmitted(const std::string& form_name, bool user_initiated); | 110 void OnDocumentSubmitted(const std::string& form_name, bool user_initiated); |
111 | 111 |
112 // Called when form activity is registered. | 112 // Called when form activity is registered. |
113 void OnFormActivityRegistered(const std::string& form_name, | 113 void OnFormActivityRegistered(const std::string& form_name, |
114 const std::string& field_name, | 114 const std::string& field_name, |
115 const std::string& type, | 115 const std::string& type, |
116 const std::string& value, | 116 const std::string& value, |
117 int key_code, | |
118 bool input_missing); | 117 bool input_missing); |
119 | 118 |
120 // Called when new FaviconURL candidates are received. | 119 // Called when new FaviconURL candidates are received. |
121 void OnFaviconUrlUpdated(const std::vector<FaviconURL>& candidates); | 120 void OnFaviconUrlUpdated(const std::vector<FaviconURL>& candidates); |
122 | 121 |
123 // Called when the page requests a credential. | 122 // Called when the page requests a credential. |
124 void OnCredentialsRequested(int request_id, | 123 void OnCredentialsRequested(int request_id, |
125 const GURL& source_url, | 124 const GURL& source_url, |
126 bool unmediated, | 125 bool unmediated, |
127 const std::vector<std::string>& federations, | 126 const std::vector<std::string>& federations, |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 372 |
374 // Image Fetcher used to images. | 373 // Image Fetcher used to images. |
375 std::unique_ptr<ImageDataFetcher> image_fetcher_; | 374 std::unique_ptr<ImageDataFetcher> image_fetcher_; |
376 | 375 |
377 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 376 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
378 }; | 377 }; |
379 | 378 |
380 } // namespace web | 379 } // namespace web |
381 | 380 |
382 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 381 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
OLD | NEW |