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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.h

Issue 626093002: Cleanup webview app_shell_browsertests and add webview media permission tests in app_shell_browsert… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tests_load
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698