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

Unified Diff: content/shell/webkit_test_runner.h

Issue 11829002: [content shell] add support for dumping frame load callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/webkit_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner.h
diff --git a/content/shell/webkit_test_runner.h b/content/shell/webkit_test_runner.h
index 099a889c661b260b65afe10ce7cf8ef69c079310..92420ea3fc840f0e9e244ae3a93a4f0aa0ac3a88 100644
--- a/content/shell/webkit_test_runner.h
+++ b/content/shell/webkit_test_runner.h
@@ -67,6 +67,10 @@ class WebKitTestRunner : public RenderViewObserver,
// WebTestRunner implementation.
virtual bool shouldDumpEditingCallbacks() const;
+ virtual bool shouldDumpFrameLoadCallbacks() const;
+ virtual bool shouldDumpUserGestureInFrameLoadCallbacks() const;
+ virtual bool stopProvisionalFrameLoads() const;
+ virtual bool shouldDumpTitleChanges() const;
void Reset();
void Display();
@@ -84,6 +88,10 @@ class WebKitTestRunner : public RenderViewObserver,
void ExecCommand(const std::string& command, const std::string& value);
void OverridePreference(const std::string& key, v8::Local<v8::Value> value);
void DumpEditingCallbacks();
+ void DumpFrameLoadCallbacks();
+ void DumpUserGestureInFrameLoadCallbacks();
+ void StopProvisionalFrameLoads();
+ void DumpTitleChanges();
void NotImplemented(const std::string& object, const std::string& method);
@@ -109,6 +117,13 @@ class WebKitTestRunner : public RenderViewObserver,
::WebTestRunner::WebPreferences prefs_;
bool dump_editing_callbacks_;
+ bool dump_frame_load_callbacks_;
+ bool dump_user_gesture_in_frame_load_callbacks_;
+ bool stop_provisional_frame_loads_;
+ bool dump_title_changes_;
+
+ bool test_is_running_;
+ bool wait_until_done_;
DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
};
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698