| OLD | NEW |
| (Empty) | |
| 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 #include "base/values.h" |
| 6 #include "extensions/browser/guest_view/test_guest_view_manager.h" |
| 7 #include "extensions/shell/test/shell_test.h" |
| 8 |
| 9 namespace content { |
| 10 class WebContents; |
| 11 } // namespace content |
| 12 |
| 13 namespace extensions { |
| 14 class TestGuestViewManager; |
| 15 |
| 16 class WebViewAPITest : public AppShellTest { |
| 17 protected: |
| 18 WebViewAPITest(); |
| 19 |
| 20 void LaunchApp(const std::string& app_location); |
| 21 void RunTest(const std::string& test_name, const std::string& app_location); |
| 22 void StartTestServer(); |
| 23 void StopTestServer(); |
| 24 TestGuestViewManager* GetGuestViewManager(); |
| 25 |
| 26 // content::BrowserTestBase implementation |
| 27 virtual void SetUpOnMainThread() override; |
| 28 virtual void TearDownOnMainThread() override; |
| 29 |
| 30 protected: |
| 31 content::WebContents* embedder_web_contents_; |
| 32 TestGuestViewManagerFactory factory_; |
| 33 base::DictionaryValue test_config_; |
| 34 }; |
| 35 |
| 36 } // namespace extensions |
| OLD | NEW |