Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / mock_base_screen_delegate.h
blob2d2c01c46ac203db22f84a217e1fb82c4ca157ed
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_
8 #include <string>
10 #include "chrome/browser/chromeos/login/screens/base_screen.h"
11 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h"
12 #include "testing/gmock/include/gmock/gmock.h"
14 namespace chromeos {
16 // Interface that handles notifications received from any of login wizard
17 // screens.
18 class MockBaseScreenDelegate : public BaseScreenDelegate {
19 public:
20 MockBaseScreenDelegate();
21 virtual ~MockBaseScreenDelegate();
23 MOCK_METHOD3(OnExit,
24 void(BaseScreen&, ExitCodes, const ::login::ScreenContext*));
25 MOCK_METHOD0(ShowCurrentScreen, void());
26 MOCK_METHOD0(GetErrorScreen, ErrorScreen*());
27 MOCK_METHOD0(ShowErrorScreen, void());
28 MOCK_METHOD1(HideErrorScreen, void(BaseScreen*));
31 } // namespace chromeos
33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_MOCK_BASE_SCREEN_DELEGATE_H_