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

Unified Diff: chrome/test/media_router/media_router_integration_browsertest.h

Issue 1413403003: [Media Router] Auto-close Media Router dialog after starting or stopping a session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/test/media_router/media_router_integration_browsertest.h
diff --git a/chrome/test/media_router/media_router_integration_browsertest.h b/chrome/test/media_router/media_router_integration_browsertest.h
index d8c4bef29af627a350cd330234ee6eb2e5b18e39..14e1dacbcaab6b49d983eeb97dc5701ae4ab3ddc 100644
--- a/chrome/test/media_router/media_router_integration_browsertest.h
+++ b/chrome/test/media_router/media_router_integration_browsertest.h
@@ -46,11 +46,18 @@ class MediaRouterIntegrationBrowserTest : public MediaRouterBaseBrowserTest {
static std::string ExecuteScriptAndExtractString(
const content::ToRenderFrameHost& adapter, const std::string& script);
+ void ClickRouteDetailsHeader();
+
// Get the chrome modal dialog.
// |web_contents|: The web contents of the test page which invokes the popup
// dialog.
content::WebContents* GetMRDialog(content::WebContents* web_contents);
+ // Checks that the chrome modal dialog does not exist.
+ bool IsDialogClosed(content::WebContents* web_contents);
+ void CheckDialogIsClosed(content::WebContents* web_contents);
+ void CheckDialogIsOpen(content::WebContents* web_contents);
+
void OpenTestPage(base::FilePath::StringPieceType file);
void OpenTestPageInNewTab(base::FilePath::StringPieceType file);

Powered by Google App Engine
This is Rietveld 408576698