| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "base/mac/scoped_nsobject.h" | 5 #include "base/mac/scoped_nsobject.h" |
| 6 #import "ios/chrome/browser/ui/fullscreen_controller.h" | 6 #import "ios/chrome/browser/ui/fullscreen_controller.h" |
| 7 #import "ios/web/public/test/test_web_view_content_view.h" | 7 #import "ios/web/public/test/fakes/test_web_view_content_view.h" |
| 8 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" | 8 #import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h" |
| 9 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h" | 9 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h" |
| 10 #import "ios/web/web_state/crw_web_view_proxy_impl.h" | 10 #import "ios/web/web_state/crw_web_view_proxy_impl.h" |
| 11 #import "ios/web/web_state/ui/crw_web_controller.h" | 11 #import "ios/web/web_state/ui/crw_web_controller.h" |
| 12 #include "testing/platform_test.h" | 12 #include "testing/platform_test.h" |
| 13 #import "third_party/ocmock/OCMock/OCMock.h" | 13 #import "third_party/ocmock/OCMock/OCMock.h" |
| 14 #include "third_party/ocmock/ocmock_extensions.h" | 14 #include "third_party/ocmock/ocmock_extensions.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 [controller_ webViewScrollViewDidEndDragging:webViewScrollViewProxy_ | 369 [controller_ webViewScrollViewDidEndDragging:webViewScrollViewProxy_ |
| 370 willDecelerate:NO]; | 370 willDecelerate:NO]; |
| 371 EXPECT_TRUE(IsHeaderVisible()); | 371 EXPECT_TRUE(IsHeaderVisible()); |
| 372 | 372 |
| 373 // Hide the keyboard. | 373 // Hide the keyboard. |
| 374 [textField resignFirstResponder]; | 374 [textField resignFirstResponder]; |
| 375 EXPECT_TRUE(IsHeaderVisible()); | 375 EXPECT_TRUE(IsHeaderVisible()); |
| 376 } | 376 } |
| 377 | 377 |
| 378 } // namespace | 378 } // namespace |
| OLD | NEW |