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

Side by Side Diff: chrome_frame/test/test_mock_with_web_server.h

Issue 604014: First batch of context menu tests... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 The Chromium 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 #ifndef CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_ 4 #ifndef CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_
5 #define CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_ 5 #define CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "gmock/gmock.h" 9 #include "gmock/gmock.h"
10 #include "chrome_frame/chrome_frame_automation.h" 10 #include "chrome_frame/chrome_frame_automation.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 MOCK_METHOD5_WITH_CALLTYPE(__stdcall, OnNavigateError, 49 MOCK_METHOD5_WITH_CALLTYPE(__stdcall, OnNavigateError,
50 void (IDispatch* dispatch, // NOLINT 50 void (IDispatch* dispatch, // NOLINT
51 VARIANT* url, 51 VARIANT* url,
52 VARIANT* frame_name, 52 VARIANT* frame_name,
53 VARIANT* status_code, 53 VARIANT* status_code,
54 VARIANT* cancel)); 54 VARIANT* cancel));
55 55
56 MOCK_METHOD1(OnLoad, void (const wchar_t* url)); // NOLINT 56 MOCK_METHOD1(OnLoad, void (const wchar_t* url)); // NOLINT
57 MOCK_METHOD1(OnLoadError, void (const wchar_t* url)); // NOLINT 57 MOCK_METHOD1(OnLoadError, void (const wchar_t* url)); // NOLINT
58 MOCK_METHOD1(OnMessage, void (const wchar_t* message)); // NOLINT 58 MOCK_METHOD3(OnMessage, void (const wchar_t* message,
59 const wchar_t* origin,
60 const wchar_t* source)); // NOLINT
59 MOCK_METHOD2(OnNewBrowserWindow, void (IDispatch* dispatch, // NOLINT 61 MOCK_METHOD2(OnNewBrowserWindow, void (IDispatch* dispatch, // NOLINT
60 const wchar_t* url)); 62 const wchar_t* url));
61 }; 63 };
62 64
63 #endif // CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_ 65 #endif // CHROME_FRAME_TEST_MOCK_WITH_WEB_SERVER_H_
64 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698