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 #include "blimp/client/feature/mock_navigation_feature.h" | |
| 6 | |
| 7 namespace blimp { | |
| 8 namespace client { | |
| 9 | |
| 10 MockNavigationFeature::MockNavigationFeature() {} | |
| 11 | |
| 12 MockNavigationFeature::~MockNavigationFeature() {} | |
| 13 | |
| 14 void MockNavigationFeature::NavigateToUrlText(int tab_id, | |
| 15 const std::string& url_text) { | |
| 16 NavigationFeatureDelegate* delegate = FindDelegate(tab_id); | |
| 17 delegate->OnUrlChanged(tab_id, GURL(url_text)); | |
|
nyquist
2016/07/27 22:36:48
This is a little bit weird. It directly calls the
| |
| 18 } | |
| 19 | |
| 20 } // namespace client | |
| 21 } // namespace blimp | |
| OLD | NEW |