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

Side by Side Diff: blimp/client/core/contents/fake_navigation_feature.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 #ifndef BLIMP_CLIENT_CORE_CONTENTS_FAKE_NAVIGATION_FEATURE_H_
6 #define BLIMP_CLIENT_CORE_CONTENTS_FAKE_NAVIGATION_FEATURE_H_
7
8 #include <string>
9
10 #include "blimp/client/core/contents/navigation_feature.h"
11 #include "testing/gmock/include/gmock/gmock.h"
12
13 namespace blimp {
14 namespace client {
15
16 class FakeNavigationFeature : public NavigationFeature {
17 public:
18 FakeNavigationFeature();
19 ~FakeNavigationFeature();
20
21 MOCK_METHOD1(Reload, void(int tab_id));
22 MOCK_METHOD1(GoBack, void(int tab_id));
23 MOCK_METHOD1(GoForward, void(int tab_id));
24
25 void NavigateToUrlText(int tab_id, const std::string& url_text) override;
26
27 private:
28 // For mimicing asynchronous invocation of delegate from NavigateToUrlText.
29 void NotifyDelegateURLLoaded(int tab_id, const std::string& url_text);
30
31 DISALLOW_COPY_AND_ASSIGN(FakeNavigationFeature);
32 };
33
34 } // namespace client
35 } // namespace blimp
36
37 #endif // BLIMP_CLIENT_CORE_CONTENTS_FAKE_NAVIGATION_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698