Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import "ios/web/test/web_test_with_web_controller.h" | |
| 6 | |
| 7 #import "ios/web/web_state/web_state_impl.h" | |
| 8 | |
| 9 namespace web { | |
| 10 | |
| 11 WebTestWithWebController::WebTestWithWebController() {} | |
| 12 | |
| 13 WebTestWithWebController::~WebTestWithWebController() {} | |
| 14 | |
| 15 CRWWebController* WebTestWithWebController::web_controller() { | |
| 16 return static_cast<web::WebStateImpl*>(web_state())->GetWebController(); | |
| 17 } | |
| 18 | |
| 19 } // namespace web | |
| OLD | NEW |