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

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

Issue 11363170: Add an accessibility audit test for WebUI pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First, very incomplete pass at doing accessibility check in Javascript only Created 8 years 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 f184570deb369472245840dd3f09436013781bf7..a8761a1327ceea31141d410c487357685c0c93de 100644
--- a/chrome/browser/ui/webui/web_ui_browsertest.h
+++ b/chrome/browser/ui/webui/web_ui_browsertest.h
@@ -52,6 +52,10 @@ class WebUIBrowserTest
// as relative to the test data dir.
void AddLibrary(const FilePath& library_path);
+ // Add a helper JS library from a string path.
+ // The path is interpreted relative to base::DIR_SOURCE_ROOT.
+ void AddLibraryFromUTFPath(const std::string path);
Sheridan Rawlins 2012/12/18 01:43:35 Can this take a FilePath? Why a string?
+
// Runs a javascript function in the context of all libraries.
// Note that calls to functions in test_api.js are not supported.
// Takes ownership of Value* arguments.

Powered by Google App Engine
This is Rietveld 408576698