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

Side by Side Diff: ios/chrome/browser/autofill/form_input_accessory_view_controller.mm

Issue 1446473002: Enable compilation of //components/autofill on iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@os_crypt
Patch Set: Created 5 years, 1 month 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 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 #import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h" 5 #import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h"
6 6
7 #include "base/ios/block_types.h" 7 #include "base/ios/block_types.h"
8 #include "base/ios/ios_util.h" 8 #include "base/ios/ios_util.h"
9 #include "base/mac/foundation_util.h" 9 #include "base/mac/foundation_util.h"
10 #include "base/mac/scoped_block.h" 10 #include "base/mac/scoped_block.h"
11 #include "base/mac/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #import "components/autofill/core/browser/keyboard_accessory_metrics_logger.h"
13 #import "components/autofill/ios/browser/js_suggestion_manager.h" 14 #import "components/autofill/ios/browser/js_suggestion_manager.h"
14 #import "components/autofill/ios/browser/keyboard_accessory_metrics_logger.h"
15 #import "ios/chrome/browser/autofill/form_input_accessory_view.h" 15 #import "ios/chrome/browser/autofill/form_input_accessory_view.h"
16 #import "ios/chrome/browser/autofill/form_suggestion_view.h" 16 #import "ios/chrome/browser/autofill/form_suggestion_view.h"
17 #import "ios/chrome/browser/passwords/password_generation_utils.h" 17 #import "ios/chrome/browser/passwords/password_generation_utils.h"
18 #include "ios/chrome/browser/ui/ui_util.h" 18 #include "ios/chrome/browser/ui/ui_util.h"
19 #include "ios/chrome/grit/ios_strings.h" 19 #include "ios/chrome/grit/ios_strings.h"
20 #include "ios/web/public/test/crw_test_js_injection_receiver.h" 20 #include "ios/web/public/test/crw_test_js_injection_receiver.h"
21 #include "ios/web/public/url_scheme_util.h" 21 #include "ios/web/public/url_scheme_util.h"
22 #import "ios/web/public/web_state/crw_web_view_proxy.h" 22 #import "ios/web/public/web_state/crw_web_view_proxy.h"
23 #include "ios/web/public/web_state/url_verification_constants.h" 23 #include "ios/web/public/web_state/url_verification_constants.h"
24 #include "ios/web/public/web_state/web_state.h" 24 #include "ios/web/public/web_state/web_state.h"
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 // that we don't present our custom view over the keyboard. 672 // that we don't present our custom view over the keyboard.
673 - (void)textInputDidBeginEditing:(NSNotification*)notification { 673 - (void)textInputDidBeginEditing:(NSNotification*)notification {
674 [self reset]; 674 [self reset];
675 } 675 }
676 676
677 - (void)keyboardDidHide:(NSNotification*)notification { 677 - (void)keyboardDidHide:(NSNotification*)notification {
678 _keyboardFrame = CGRectZero; 678 _keyboardFrame = CGRectZero;
679 } 679 }
680 680
681 @end 681 @end
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | ios/chrome/browser/autofill/form_suggestion_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698