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

Unified Diff: content/public/test/render_view_test.h

Issue 447503002: Add content browser test for <optgroup> with 'display: none' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: content/public/test/render_view_test.h
diff --git a/content/public/test/render_view_test.h b/content/public/test/render_view_test.h
index 7f10ee864ac2bb836e30950dc3ab253a3f5a760a..52749d38b9cc450ceb98744d810b36ac9a71e1ba 100644
--- a/content/public/test/render_view_test.h
+++ b/content/public/test/render_view_test.h
@@ -73,6 +73,13 @@ class RenderViewTest : public testing::Test {
bool ExecuteJavaScriptAndReturnIntValue(const base::string16& script,
int* result);
+ // Executes the given JavaScript and sets the string value it evaluates to in
+ // |result|.
+ // Returns true if the JavaScript was evaluated correctly to an string value,
+ // false otherwise.
+ bool ExecuteJavaScriptAndReturnStringValue(const base::string16& script,
+ std::string& result);
+
// Loads the given HTML into the main frame as a data: URL and blocks until
// the navigation is committed.
void LoadHTML(const char* html);
« no previous file with comments | « no previous file | content/public/test/render_view_test.cc » ('j') | content/renderer/external_popup_menu_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698