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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/mock_navigation_feature.cc
diff --git a/blimp/client/feature/mock_navigation_feature.cc b/blimp/client/feature/mock_navigation_feature.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5c33d82bac3bf4006160d60d84aa0bcb62a0ffb6
--- /dev/null
+++ b/blimp/client/feature/mock_navigation_feature.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "blimp/client/feature/mock_navigation_feature.h"
+
+namespace blimp {
+namespace client {
+
+MockNavigationFeature::MockNavigationFeature() {}
+
+MockNavigationFeature::~MockNavigationFeature() {}
+
+void MockNavigationFeature::NavigateToUrlText(int tab_id,
+ const std::string& url_text) {
+ NavigationFeatureDelegate* delegate = FindDelegate(tab_id);
+ delegate->OnUrlChanged(tab_id, GURL(url_text));
nyquist 2016/07/27 22:36:48 This is a little bit weird. It directly calls the
+}
+
+} // namespace client
+} // namespace blimp
« 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