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

Side by Side Diff: blimp/client/feature/mock_navigation_feature_delegate.h

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_FEATURE_MOCK_NAVIGATION_FEATURE_DELEGATE_H_
6 #define BLIMP_CLIENT_FEATURE_MOCK_NAVIGATION_FEATURE_DELEGATE_H_
7
8 #include <string>
9
10 #include "blimp/client/feature/navigation_feature.h"
11 #include "testing/gmock/include/gmock/gmock.h"
12
13 class GURL;
14 class SkBitmap;
15
16 namespace blimp {
17 namespace client {
18
19 class MockNavigationFeatureDelegate
20 : public NavigationFeature::NavigationFeatureDelegate {
21 public:
22 MockNavigationFeatureDelegate();
23 ~MockNavigationFeatureDelegate() override;
24
25 MOCK_METHOD2(OnUrlChanged, void(int tab_id, const GURL& url));
26 MOCK_METHOD2(OnFaviconChanged, void(int tab_id, const SkBitmap& favicon));
27 MOCK_METHOD2(OnTitleChanged, void(int tab_id, const std::string& title));
28 MOCK_METHOD2(OnLoadingChanged, void(int tab_id, bool loading));
29 MOCK_METHOD2(OnPageLoadStatusUpdate, void(int tab_id, bool completed));
30 };
31
32 } // namespace client
33 } // namespace blimp
34
35 #endif // BLIMP_CLIENT_FEATURE_MOCK_NAVIGATION_FEATURE_DELEGATE_H_
OLDNEW
« no previous file with comments | « blimp/client/feature/mock_ime_feature_delegate.cc ('k') | blimp/client/feature/mock_navigation_feature_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698