diff options
Diffstat (limited to 'chrome_frame/test/chrome_frame_test_utils.cc')
-rw-r--r-- | chrome_frame/test/chrome_frame_test_utils.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc index 54d18de..cb59615 100644 --- a/chrome_frame/test/chrome_frame_test_utils.cc +++ b/chrome_frame/test/chrome_frame_test_utils.cc @@ -421,7 +421,7 @@ int CloseAllIEWindows() { return ret; } -void ShowChromeFrameContextMenuTask() { +void ShowChromeFrameContextMenu() { static const int kChromeFrameContextMenuTimeout = 500; HWND renderer_window = GetChromeRendererWindow(); EXPECT_TRUE(IsWindow(renderer_window)); @@ -438,15 +438,6 @@ void ShowChromeFrameContextMenuTask() { kChromeFrameContextMenuTimeout); } -void ShowChromeFrameContextMenu() { - static const int kContextMenuDelay = 5000; - - MessageLoop::current()->PostDelayedTask( - FROM_HERE, - NewRunnableFunction(ShowChromeFrameContextMenuTask), - kContextMenuDelay); -} - void SetKeyboardFocusToWindow(HWND window, int x, int y) { if (!IsTopLevelWindow(window)) { window = GetAncestor(window, GA_ROOT); |