| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 4 |
| 5 #ifndef CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ | 5 #ifndef CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ |
| 6 #define CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ | 6 #define CHROME_FRAME_TEST_CHROME_FRAME_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // not perform this initialization itself. | 49 // not perform this initialization itself. |
| 50 int CloseAllIEWindows(); | 50 int CloseAllIEWindows(); |
| 51 | 51 |
| 52 extern const wchar_t kIEImageName[]; | 52 extern const wchar_t kIEImageName[]; |
| 53 extern const wchar_t kIEBrokerImageName[]; | 53 extern const wchar_t kIEBrokerImageName[]; |
| 54 extern const wchar_t kFirefoxImageName[]; | 54 extern const wchar_t kFirefoxImageName[]; |
| 55 extern const wchar_t kOperaImageName[]; | 55 extern const wchar_t kOperaImageName[]; |
| 56 extern const wchar_t kSafariImageName[]; | 56 extern const wchar_t kSafariImageName[]; |
| 57 extern const wchar_t kChromeImageName[]; | 57 extern const wchar_t kChromeImageName[]; |
| 58 | 58 |
| 59 // Displays the chrome frame context menu by posting mouse move messages to |
| 60 // Chrome |
| 61 void ShowChromeFrameContextMenu(); |
| 62 |
| 63 // Sends keyboard messages to the chrome frame context menu to select the About |
| 64 // Chrome frame option. |
| 65 void SelectAboutChromeFrame(); |
| 66 |
| 67 // Returns a handle to the chrome frame render widget child window. |
| 68 // Returns NULL on failure. |
| 69 HWND GetChromeRendererWindow(); |
| 70 |
| 59 } // namespace chrome_frame_test | 71 } // namespace chrome_frame_test |
| 60 | 72 |
| 61 #endif // CHROME_FRAME_CHROMETAB_UNITTESTS_CF_TEST_UTILS_H_ | 73 #endif // CHROME_FRAME_CHROMETAB_UNITTESTS_CF_TEST_UTILS_H_ |
| OLD | NEW |