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

Unified Diff: ceee/testing/utils/mock_win32.h

Issue 4991002: New unittests for infobar. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: ceee/testing/utils/mock_win32.h
===================================================================
--- ceee/testing/utils/mock_win32.h (revision 66307)
+++ ceee/testing/utils/mock_win32.h (working copy)
@@ -68,10 +68,12 @@
MOCK_STATIC_INIT(GetWindow);
MOCK_STATIC_INIT(GetWindowRect);
MOCK_STATIC_INIT(GetWindowThreadProcessId);
+ MOCK_STATIC_INIT(KillTimer);
MOCK_STATIC_INIT(MoveWindow);
MOCK_STATIC_INIT(PostMessage);
MOCK_STATIC_INIT(SendMessage);
MOCK_STATIC_INIT(SetProp);
+ MOCK_STATIC_INIT(SetTimer);
MOCK_STATIC_INIT(SetWindowLongPtr);
MOCK_STATIC_INIT(SetWindowPos);
MOCK_STATIC_INIT_END()
@@ -88,11 +90,13 @@
MOCK_STATIC2(HWND, CALLBACK, GetWindow, HWND, UINT);
MOCK_STATIC2(BOOL, CALLBACK, GetWindowRect, HWND, LPRECT);
MOCK_STATIC2(DWORD, CALLBACK, GetWindowThreadProcessId, HWND, LPDWORD);
+ MOCK_STATIC2(BOOL, CALLBACK, KillTimer, HWND, UINT_PTR);
MOCK_STATIC6(BOOL, CALLBACK, MoveWindow,
HWND, int, int, int, int, BOOL);
MOCK_STATIC4(BOOL, CALLBACK, PostMessage, HWND, UINT, WPARAM, LPARAM);
MOCK_STATIC4(LRESULT, CALLBACK, SendMessage, HWND, UINT, WPARAM, LPARAM);
MOCK_STATIC3(BOOL, CALLBACK, SetProp, HWND, LPCWSTR, HANDLE);
+ MOCK_STATIC4(UINT_PTR, CALLBACK, SetTimer, HWND, UINT_PTR, UINT, TIMERPROC);
MOCK_STATIC3(LONG_PTR, CALLBACK, SetWindowLongPtr, HWND, int, LONG_PTR);
MOCK_STATIC7(BOOL, CALLBACK, SetWindowPos,
HWND, HWND, int, int, int, int, UINT);

Powered by Google App Engine
This is Rietveld 408576698