Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: ios/web/web_state/web_state_impl.mm

Issue 2593283002: [ios] Removed keyCode from FormActivityRegistered API. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "ios/web/web_state/web_state_impl.h" 5 #include "ios/web/web_state/web_state_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 load_success ? PageLoadCompletionStatus::SUCCESS 232 load_success ? PageLoadCompletionStatus::SUCCESS
233 : PageLoadCompletionStatus::FAILURE; 233 : PageLoadCompletionStatus::FAILURE;
234 for (auto& observer : observers_) 234 for (auto& observer : observers_)
235 observer.PageLoaded(load_completion_status); 235 observer.PageLoaded(load_completion_status);
236 } 236 }
237 237
238 void WebStateImpl::OnFormActivityRegistered(const std::string& form_name, 238 void WebStateImpl::OnFormActivityRegistered(const std::string& form_name,
239 const std::string& field_name, 239 const std::string& field_name,
240 const std::string& type, 240 const std::string& type,
241 const std::string& value, 241 const std::string& value,
242 int key_code,
243 bool input_missing) { 242 bool input_missing) {
244 for (auto& observer : observers_) { 243 for (auto& observer : observers_) {
245 observer.FormActivityRegistered(form_name, field_name, type, value, 244 observer.FormActivityRegistered(form_name, field_name, type, value,
246 key_code, input_missing); 245 input_missing);
247 } 246 }
248 } 247 }
249 248
250 void WebStateImpl::OnFaviconUrlUpdated( 249 void WebStateImpl::OnFaviconUrlUpdated(
251 const std::vector<FaviconURL>& candidates) { 250 const std::vector<FaviconURL>& candidates) {
252 for (auto& observer : observers_) 251 for (auto& observer : observers_)
253 observer.FaviconUrlUpdated(candidates); 252 observer.FaviconUrlUpdated(candidates);
254 } 253 }
255 254
256 void WebStateImpl::OnCredentialsRequested( 255 void WebStateImpl::OnCredentialsRequested(
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 const LoadCommittedDetails& load_details) { 733 const LoadCommittedDetails& load_details) {
735 for (auto& observer : observers_) 734 for (auto& observer : observers_)
736 observer.NavigationItemCommitted(load_details); 735 observer.NavigationItemCommitted(load_details);
737 } 736 }
738 737
739 WebState* WebStateImpl::GetWebState() { 738 WebState* WebStateImpl::GetWebState() {
740 return this; 739 return this;
741 } 740 }
742 741
743 } // namespace web 742 } // namespace web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698