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

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

Issue 2478583005: Browser tests for starting a drag-and-drop out of an OOPIF. (Closed)
Patch Set: Rebasing... Created 4 years, 1 month 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/test_frame_navigation_observer.h
diff --git a/content/test/test_frame_navigation_observer.h b/content/public/test/test_frame_navigation_observer.h
similarity index 93%
rename from content/test/test_frame_navigation_observer.h
rename to content/public/test/test_frame_navigation_observer.h
index 9e40ae71fc9c2bbc722c377e9f462b59a1030420..cf36fbbf89f1b3ff48cae06be40b43c6e6ecd278 100644
--- a/content/test/test_frame_navigation_observer.h
+++ b/content/public/test/test_frame_navigation_observer.h
@@ -17,8 +17,7 @@
class GURL;
namespace content {
-class FrameTreeNode;
-class WebContents;
+class RenderFrameHost;
// For content_browsertests, which run on the UI thread, run a second
ncarter (slow) 2016/11/11 20:56:36 This comment needs to be updated slightly, since i
Łukasz Anforowicz 2016/11/14 17:53:22 Ooops. Done. I got rid of the UI thread comment,
// MessageLoop and quit when the navigation in a specific frame (and all of its
@@ -26,8 +25,8 @@ class WebContents;
class TestFrameNavigationObserver : public WebContentsObserver {
public:
// Create and register a new TestFrameNavigationObserver which will track
- // navigations performed in the specified |node| of the frame tree.
- explicit TestFrameNavigationObserver(FrameTreeNode* node);
+ // navigations performed in the specified |frame|.
ncarter (slow) 2016/11/11 20:56:36 Navigation might actually destroy |frame| (if it t
Łukasz Anforowicz 2016/11/14 17:53:22 Done (+ tried to wordsmith in a way that distingui
+ explicit TestFrameNavigationObserver(RenderFrameHost* frame);
ncarter (slow) 2016/11/11 20:56:36 Could this be a ToRenderFrameHost? That would allo
Łukasz Anforowicz 2016/11/14 17:53:22 Good idea. Done.
~TestFrameNavigationObserver() override;

Powered by Google App Engine
This is Rietveld 408576698