Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: blimp/client/feature/mock_navigation_feature.cc

Issue 2058263002: Tied up BlimpNavigationController to NavigationFeature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_core
Patch Set: Addressed nits from David Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « blimp/client/feature/mock_navigation_feature.h ('k') | blimp/client/feature/navigation_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698