| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <UIKit/UIKit.h> | 5 #import <UIKit/UIKit.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/mac/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #import "base/test/ios/wait_util.h" | 11 #import "base/test/ios/wait_util.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "components/toolbar/test_toolbar_model.h" | 13 #include "components/toolbar/test_toolbar_model.h" |
| 14 #include "ios/chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 14 #include "ios/chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
| 15 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h" | 15 #include "ios/chrome/browser/browser_state/test_chrome_browser_state.h" |
| 16 #include "ios/chrome/browser/search_engines/template_url_service_factory.h" | 16 #include "ios/chrome/browser/search_engines/template_url_service_factory.h" |
| 17 #include "ios/chrome/browser/ui/omnibox/location_bar_view_ios.h" | |
| 18 #import "ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h" | 17 #import "ios/chrome/browser/ui/omnibox/omnibox_text_field_ios.h" |
| 19 #include "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h" | 18 #include "ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h" |
| 20 #include "ios/chrome/browser/ui/toolbar/toolbar_model_impl_ios.h" | 19 #include "ios/chrome/browser/ui/toolbar/toolbar_model_impl_ios.h" |
| 21 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" | 20 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" |
| 22 #include "ios/chrome/test/base/perf_test_ios.h" | 21 #include "ios/chrome/test/base/perf_test_ios.h" |
| 23 #include "ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h" | 22 #include "ios/shared/chrome/browser/tabs/fake_web_state_list_delegate.h" |
| 24 #include "ios/shared/chrome/browser/tabs/web_state_list.h" | 23 #include "ios/shared/chrome/browser/tabs/web_state_list.h" |
| 25 #include "ios/web/public/test/fakes/test_web_state.h" | 24 #include "ios/web/public/test/fakes/test_web_state.h" |
| 26 #include "testing/platform_test.h" | 25 #include "testing/platform_test.h" |
| 27 #import "third_party/ocmock/OCMock/OCMock.h" | 26 #import "third_party/ocmock/OCMock/OCMock.h" |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 } | 268 } |
| 270 NSLog(@"%2d: %@", index, logMessage); | 269 NSLog(@"%2d: %@", index, logMessage); |
| 271 return elapsed; | 270 return elapsed; |
| 272 }, | 271 }, |
| 273 ^() { | 272 ^() { |
| 274 [textField setText:@""]; | 273 [textField setText:@""]; |
| 275 DisableKeyboard(textField); | 274 DisableKeyboard(textField); |
| 276 }); | 275 }); |
| 277 } | 276 } |
| 278 } | 277 } |
| OLD | NEW |