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

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

Issue 10836164: Change policy to not trigger dangerous download UI for web intents dispatched files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to WebContentsTester Created 8 years, 4 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
Index: content/public/test/web_contents_tester.h
diff --git a/content/public/test/web_contents_tester.h b/content/public/test/web_contents_tester.h
index 5c4a37cc8d1413733cb3d958215c8a1295cac611..62c8652e213ab7ea2df6fc2098126b58172ec79d 100644
--- a/content/public/test/web_contents_tester.h
+++ b/content/public/test/web_contents_tester.h
@@ -8,6 +8,7 @@
#include "content/public/common/page_transition_types.h"
class GURL;
+class RenderViewHostManager;
namespace webkit_glue {
struct WebPreferences;
@@ -58,6 +59,10 @@ class WebContentsTester {
BrowserContext* browser_context,
SiteInstance* instance);
+ // Creates a WebContents for testing, without calling Init().
+ static WebContents* CreateTestWebContentsNoInit(
+ BrowserContext* browser_context);
+
// Deprecated. Creates a WebContents enabled for testing, that
// counts the number of times SetFocusToLocationBar is called.
static WebContents*

Powered by Google App Engine
This is Rietveld 408576698