Index: ui/web_dialogs/test/test_web_contents_handler.cc |
diff --git a/ui/web_dialogs/test/test_web_contents_handler.cc b/ui/web_dialogs/test/test_web_contents_handler.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b2077ded21b8e69732ebb1cdf47c40ceccc1a45 |
--- /dev/null |
+++ b/ui/web_dialogs/test/test_web_contents_handler.cc |
@@ -0,0 +1,32 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/web_dialogs/test/test_web_contents_handler.h" |
+ |
+namespace ui { |
+namespace test { |
+ |
+TestWebContentsHandler::TestWebContentsHandler() { |
+} |
+ |
+TestWebContentsHandler::~TestWebContentsHandler() { |
+} |
+ |
+content::WebContents* TestWebContentsHandler::OpenURLFromTab( |
+ content::BrowserContext* context, |
+ content::WebContents* source, |
+ const content::OpenURLParams& params) { |
+ return NULL; |
+} |
+ |
+void TestWebContentsHandler::AddNewContents(content::BrowserContext* context, |
+ content::WebContents* source, |
+ content::WebContents* new_contents, |
+ WindowOpenDisposition disposition, |
+ const gfx::Rect& initial_pos, |
+ bool user_gesture) { |
+} |
+ |
+} // namespace test |
+} // namespace ui |