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

Side by Side Diff: testing/embedder_test_mock_delegate.h

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers Created 4 years, 10 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
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_ 5 #ifndef TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
6 #define TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_ 6 #define TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
7 7
8 #include "embedder_test.h" 8 #include "testing/embedder_test.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 class EmbedderTestMockDelegate : public EmbedderTest::Delegate { 11 class EmbedderTestMockDelegate : public EmbedderTest::Delegate {
12 public: 12 public:
13 MOCK_METHOD1(UnsupportedHandler, void(int type)); 13 MOCK_METHOD1(UnsupportedHandler, void(int type));
14 MOCK_METHOD4( 14 MOCK_METHOD4(
15 Alert, 15 Alert,
16 int(FPDF_WIDESTRING message, FPDF_WIDESTRING title, int type, int icon)); 16 int(FPDF_WIDESTRING message, FPDF_WIDESTRING title, int type, int icon));
17 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn)); 17 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn));
18 MOCK_METHOD1(KillTimer, void(int msecs)); 18 MOCK_METHOD1(KillTimer, void(int msecs));
19 }; 19 };
20 20
21 #endif // TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_ 21 #endif // TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698