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

Unified Diff: chrome/browser/ui/webui/web_ui_browsertest.h

Issue 7574002: Be able to print items that do window.print(); window.close() (airline tix e.g.) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Kausalya's comments. Created 9 years, 4 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/ui/webui/web_ui_browsertest.h
diff --git a/chrome/browser/ui/webui/web_ui_browsertest.h b/chrome/browser/ui/webui/web_ui_browsertest.h
index 7ac42d0ca5fa9d61d9d66d2a8dea8c59e83a72d3..56a31eef0ead2deee30a27c856e39a86c4517f90 100644
--- a/chrome/browser/ui/webui/web_ui_browsertest.h
+++ b/chrome/browser/ui/webui/web_ui_browsertest.h
@@ -107,10 +107,11 @@ class WebUIBrowserTest
// Called by javascript-generated test bodies to browse to a page and preload
// the javascript for the given |preload_test_fixture| and
// |preload_test_name|. chrome.send will be overridden to allow javascript
- // handler mocking.
+ // handler mocking. When |no_print| is false, call browser()->Print()
void BrowsePrintPreload(const GURL& browse_to,
const std::string& preload_test_fixture,
- const std::string& preload_test_name);
+ const std::string& preload_test_name,
+ bool no_print);
protected:
WebUIBrowserTest();

Powered by Google App Engine
This is Rietveld 408576698