| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/find_in_page/find_in_page_controller.h" | 5 #import "ios/chrome/browser/find_in_page/find_in_page_controller.h" |
| 6 | 6 |
| 7 #import <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
| 8 | 8 |
| 9 #import <cmath> | 9 #import <cmath> |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/mac/foundation_util.h" | 13 #include "base/mac/foundation_util.h" |
| 14 #import "ios/chrome/browser/find_in_page/find_in_page_model.h" | 14 #import "ios/chrome/browser/find_in_page/find_in_page_model.h" |
| 15 #import "ios/chrome/browser/find_in_page/js_findinpage_manager.h" | 15 #import "ios/chrome/browser/find_in_page/js_findinpage_manager.h" |
| 16 #import "ios/chrome/browser/web/dom_altering_lock.h" | 16 #import "ios/chrome/browser/web/dom_altering_lock.h" |
| 17 #import "ios/web/public/web_state/crw_web_view_proxy.h" | |
| 18 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | |
| 19 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" | 17 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" |
| 18 #import "ios/web/public/web_state/ui/crw_web_view_proxy.h" |
| 19 #import "ios/web/public/web_state/ui/crw_web_view_scroll_view_proxy.h" |
| 20 #import "ios/web/public/web_state/web_state.h" | 20 #import "ios/web/public/web_state/web_state.h" |
| 21 #import "ios/web/public/web_state/web_state_observer_bridge.h" | 21 #import "ios/web/public/web_state/web_state_observer_bridge.h" |
| 22 | 22 |
| 23 #if !defined(__has_feature) || !__has_feature(objc_arc) | 23 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 24 #error "This file requires ARC support." | 24 #error "This file requires ARC support." |
| 25 #endif | 25 #endif |
| 26 | 26 |
| 27 NSString* const kFindBarTextFieldWillBecomeFirstResponderNotification = | 27 NSString* const kFindBarTextFieldWillBecomeFirstResponderNotification = |
| 28 @"kFindBarTextFieldWillBecomeFirstResponderNotification"; | 28 @"kFindBarTextFieldWillBecomeFirstResponderNotification"; |
| 29 NSString* const kFindBarTextFieldDidResignFirstResponderNotification = | 29 NSString* const kFindBarTextFieldDidResignFirstResponderNotification = |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 | 372 |
| 373 - (BOOL)canReleaseDOMLock { | 373 - (BOOL)canReleaseDOMLock { |
| 374 return NO; | 374 return NO; |
| 375 } | 375 } |
| 376 | 376 |
| 377 - (void)releaseDOMLockWithCompletionHandler:(ProceduralBlock)completionHandler { | 377 - (void)releaseDOMLockWithCompletionHandler:(ProceduralBlock)completionHandler { |
| 378 NOTREACHED(); | 378 NOTREACHED(); |
| 379 } | 379 } |
| 380 | 380 |
| 381 @end | 381 @end |
| OLD | NEW |