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

Side by Side Diff: chrome/browser/ui/toolbar/mock_media_router_action_controller.h

Issue 2410553002: Show Media Router toolbar icon ephemerally for MR dialogs (Closed)
Patch Set: DISALLOW_COPY_AND_ASSIGN MockMediaRouterActionController Created 4 years, 1 month 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 CHROME_BROWSER_UI_TOOLBAR_MOCK_MEDIA_ROUTER_ACTION_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_MOCK_MEDIA_ROUTER_ACTION_CONTROLLER_H_
7
8 #include "chrome/browser/ui/toolbar/media_router_action_controller.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 class MockMediaRouterActionController : public MediaRouterActionController {
12 public:
13 explicit MockMediaRouterActionController(Profile* profile);
14 ~MockMediaRouterActionController() override;
15
16 MOCK_METHOD1(OnIssueUpdated, void(const media_router::Issue* issue));
17 MOCK_METHOD2(OnRoutesUpdated,
18 void(const std::vector<media_router::MediaRoute>& routes,
19 const std::vector<media_router::MediaRoute::Id>&
20 joinable_route_ids));
21 MOCK_METHOD0(OnDialogShown, void());
22 MOCK_METHOD0(OnDialogHidden, void());
23 MOCK_METHOD0(MaybeAddOrRemoveAction, void());
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(MockMediaRouterActionController);
27 };
28
29 #endif // CHROME_BROWSER_UI_TOOLBAR_MOCK_MEDIA_ROUTER_ACTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698