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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h

Issue 891213002: Add a test for the mouseleave event on window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h b/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
index c8cd6e47f69d85c1afc2d829a5da70838338c5b7..429e403372fb48a3f3d3fdc2392a0d95dd1594ba 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h
@@ -42,11 +42,10 @@ class SaveLinkAsContextMenuObserver : public ContextMenuNotificationObserver {
const content::NotificationSource& source);
~SaveLinkAsContextMenuObserver() override;
- // Suggested filename for file downloaded through "Save Link As" option.
- base::string16 GetSuggestedFilename();
+ content::ContextMenuParams& params();
- // Wait for context menu to be visible.
- void WaitForMenu();
+ // Wait until opening the context menu and closing.
+ void WaitForMenuOpenAndClose();
private:
void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698