1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_ 6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_ 7 8 // A collections of functions designed for use with content_shell based browser 9 // tests internal to the content/ module. 10 // Note: If a function here also works with browser_tests, it should be in 11 // the content public API. 12 13 class GURL; 14 15 namespace content { 16 17 class FrameTreeNode; 18 19 // Navigates the frame represented by |node| to |url|, blocking until the 20 // navigation finishes. 21 void NavigateFrameToURL(FrameTreeNode* node, const GURL& url); 22 23 } // namespace content 24 25 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_INTERNAL_H_ 26