| Index: chrome/test/render_view_test.h
|
| ===================================================================
|
| --- chrome/test/render_view_test.h (revision 63740)
|
| +++ chrome/test/render_view_test.h (working copy)
|
| @@ -48,6 +48,12 @@
|
| // is a NULL-terminated UTF-8 string.
|
| void ExecuteJavaScript(const char* js);
|
|
|
| + // Executes the given JavaScript and sets the int value it evaluates to in
|
| + // |result|.
|
| + // Returns true if the JavaScript was evaluated correctly to an int value,
|
| + // false otherwise.
|
| + bool ExecuteJavaScriptAndReturnIntValue(const string16& script, int* result);
|
| +
|
| // Loads the given HTML into the main frame as a data: URL.
|
| void LoadHTML(const char* html);
|
|
|
|
|