1 // Copyright 2015 PDFium 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 TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
6 #define TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
8 #include "embedder_test.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 class EmbedderTestMockDelegate : public EmbedderTest::Delegate {
13 MOCK_METHOD1(UnsupportedHandler, void(int type));
16 int(FPDF_WIDESTRING message, FPDF_WIDESTRING title, int type, int icon));
17 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn));
18 MOCK_METHOD1(KillTimer, void(int msecs));
21 #endif // TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_