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

Unified Diff: extensions/browser/guest_view/web_view/web_view_apitest.h

Issue 639693005: Adding more webview browser tests to app_shell_browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small changes are made. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/web_view/web_view_apitest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_apitest.h b/extensions/browser/guest_view/web_view/web_view_apitest.h
index a523225f319999828defbde4fd579f0b3fca8acc..17023363892cea04e8aac7e5a9b0df38f7b94ed4 100644
--- a/extensions/browser/guest_view/web_view/web_view_apitest.h
+++ b/extensions/browser/guest_view/web_view/web_view_apitest.h
@@ -30,18 +30,27 @@ class WebViewAPITest : public AppShellTest {
void StartTestServer();
void StopTestServer();
+ content::WebContents* GetEmbedderWebContents();
+
// Returns the GuestViewManager singleton.
TestGuestViewManager* GetGuestViewManager();
+ content::WebContents* GetGuestWebContents();
+ void SendMessageToGuestAndWait(const std::string& message,
+ const std::string& wait_message);
+ void SendMessageToEmbedder(const std::string& message);
+
// content::BrowserTestBase implementation.
virtual void RunTestOnMainThreadLoop() override;
virtual void SetUpOnMainThread() override;
virtual void TearDownOnMainThread() override;
- protected:
content::WebContents* embedder_web_contents_;
TestGuestViewManagerFactory factory_;
base::DictionaryValue test_config_;
+
+ private:
+ content::WebContents* GetFirstAppWindowWebContents();
};
class WebViewDPIAPITest : public WebViewAPITest {
« no previous file with comments | « no previous file | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698