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

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

Issue 1984353002: [iOS/GN] Fix and enable "gn check" for "//ios/*" and "//ios_internal/*". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix "--check" after https://codereview.chromium.org/1956113002/ Created 4 years, 7 months 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
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/ios_chrome_io_thread.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 7 #include <memory>
8 8
9 #include "base/ios/block_types.h" 9 #include "base/ios/block_types.h"
10 #include "base/ios/ios_util.h" 10 #include "base/ios/ios_util.h"
11 #include "base/mac/foundation_util.h" 11 #include "base/mac/foundation_util.h"
12 #include "base/mac/scoped_block.h" 12 #include "base/mac/scoped_block.h"
13 #include "base/mac/scoped_nsobject.h" 13 #include "base/mac/scoped_nsobject.h"
14 #import "components/autofill/core/browser/keyboard_accessory_metrics_logger.h" 14 #import "components/autofill/core/browser/keyboard_accessory_metrics_logger.h"
15 #import "components/autofill/ios/browser/js_suggestion_manager.h" 15 #import "components/autofill/ios/browser/js_suggestion_manager.h"
16 #import "ios/chrome/browser/autofill/form_input_accessory_view.h" 16 #import "ios/chrome/browser/autofill/form_input_accessory_view.h"
17 #import "ios/chrome/browser/autofill/form_suggestion_view.h" 17 #import "ios/chrome/browser/autofill/form_suggestion_view.h"
18 #import "ios/chrome/browser/passwords/password_generation_utils.h" 18 #import "ios/chrome/browser/passwords/password_generation_utils.h"
19 #include "ios/chrome/browser/ui/ui_util.h" 19 #include "ios/chrome/browser/ui/ui_util.h"
20 #include "ios/web/public/test/crw_test_js_injection_receiver.h"
21 #import "ios/web/public/url_scheme_util.h" 20 #import "ios/web/public/url_scheme_util.h"
22 #import "ios/web/public/web_state/crw_web_view_proxy.h" 21 #import "ios/web/public/web_state/crw_web_view_proxy.h"
22 #import "ios/web/public/web_state/js/crw_js_injection_receiver.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"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 namespace autofill { 27 namespace autofill {
28 NSString* const kFormSuggestionAssistButtonPreviousElement = @"previousTap"; 28 NSString* const kFormSuggestionAssistButtonPreviousElement = @"previousTap";
29 NSString* const kFormSuggestionAssistButtonNextElement = @"nextTap"; 29 NSString* const kFormSuggestionAssistButtonNextElement = @"nextTap";
30 NSString* const kFormSuggestionAssistButtonDone = @"done"; 30 NSString* const kFormSuggestionAssistButtonDone = @"done";
31 CGFloat const kInputAccessoryHeight = 44.0f; 31 CGFloat const kInputAccessoryHeight = 44.0f;
32 } // namespace autofill 32 } // namespace autofill
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // that we don't present our custom view over the keyboard. 648 // that we don't present our custom view over the keyboard.
649 - (void)textInputDidBeginEditing:(NSNotification*)notification { 649 - (void)textInputDidBeginEditing:(NSNotification*)notification {
650 [self reset]; 650 [self reset];
651 } 651 }
652 652
653 - (void)keyboardDidHide:(NSNotification*)notification { 653 - (void)keyboardDidHide:(NSNotification*)notification {
654 _keyboardFrame = CGRectZero; 654 _keyboardFrame = CGRectZero;
655 } 655 }
656 656
657 @end 657 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/ios_chrome_io_thread.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698