1 // Copyright (c) 2012 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.
5 #include "ui/web_dialogs/test/test_web_contents_handler.h"
10 TestWebContentsHandler::TestWebContentsHandler() {
13 TestWebContentsHandler::~TestWebContentsHandler() {
16 content::WebContents* TestWebContentsHandler::OpenURLFromTab(
17 content::BrowserContext* context,
18 content::WebContents* source,
19 const content::OpenURLParams& params) {
23 void TestWebContentsHandler::AddNewContents(content::BrowserContext* context,
24 content::WebContents* source,
25 content::WebContents* new_contents,
26 WindowOpenDisposition disposition,
27 const gfx::Rect& initial_pos,