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 #import <cmath> | 8 #import <cmath> |
9 | 9 |
10 #include "base/ios/ios_util.h" | 10 #include "base/ios/ios_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/mac/foundation_util.h" | 12 #include "base/mac/foundation_util.h" |
13 #include "base/mac/scoped_nsobject.h" | 13 #include "base/mac/scoped_nsobject.h" |
| 14 #include "base/memory/scoped_ptr.h" |
14 #import "ios/chrome/browser/find_in_page/find_in_page_model.h" | 15 #import "ios/chrome/browser/find_in_page/find_in_page_model.h" |
15 #import "ios/chrome/browser/find_in_page/js_findinpage_manager.h" | 16 #import "ios/chrome/browser/find_in_page/js_findinpage_manager.h" |
16 #import "ios/chrome/browser/web/dom_altering_lock.h" | 17 #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_proxy.h" |
18 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | 19 #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" | 20 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" |
20 #import "ios/web/public/web_state/web_state.h" | 21 #import "ios/web/public/web_state/web_state.h" |
21 #import "ios/web/public/web_state/web_state_observer_bridge.h" | 22 #import "ios/web/public/web_state/web_state_observer_bridge.h" |
22 | 23 |
23 NSString* const kFindBarTextFieldWillBecomeFirstResponderNotification = | 24 NSString* const kFindBarTextFieldWillBecomeFirstResponderNotification = |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 376 |
376 - (BOOL)canReleaseDOMLock { | 377 - (BOOL)canReleaseDOMLock { |
377 return NO; | 378 return NO; |
378 } | 379 } |
379 | 380 |
380 - (void)releaseDOMLockWithCompletionHandler:(ProceduralBlock)completionHandler { | 381 - (void)releaseDOMLockWithCompletionHandler:(ProceduralBlock)completionHandler { |
381 NOTREACHED(); | 382 NOTREACHED(); |
382 } | 383 } |
383 | 384 |
384 @end | 385 @end |
OLD | NEW |