OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/web_dialogs/test/test_web_contents_handler.h" | 5 #include "ui/web_dialogs/test/test_web_contents_handler.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 namespace test { | 8 namespace test { |
9 | 9 |
10 TestWebContentsHandler::TestWebContentsHandler() { | 10 TestWebContentsHandler::TestWebContentsHandler() { |
11 } | 11 } |
12 | 12 |
13 TestWebContentsHandler::~TestWebContentsHandler() { | 13 TestWebContentsHandler::~TestWebContentsHandler() { |
14 } | 14 } |
15 | 15 |
16 content::WebContents* TestWebContentsHandler::OpenURLFromTab( | 16 content::WebContents* TestWebContentsHandler::OpenURLFromTab( |
17 content::BrowserContext* context, | 17 content::BrowserContext* context, |
18 content::WebContents* source, | 18 content::WebContents* source, |
19 const content::OpenURLParams& params) { | 19 const content::OpenURLParams& params) { |
20 return NULL; | 20 return NULL; |
21 } | 21 } |
22 | 22 |
23 void TestWebContentsHandler::AddNewContents(content::BrowserContext* context, | 23 void TestWebContentsHandler::AddNewContents(content::BrowserContext* context, |
24 content::WebContents* source, | 24 content::WebContents* source, |
25 content::WebContents* new_contents, | 25 content::WebContents* new_contents, |
26 WindowOpenDisposition disposition, | 26 WindowOpenDisposition disposition, |
27 const gfx::Rect& initial_pos, | 27 const gfx::Rect& initial_rect, |
28 bool user_gesture) { | 28 bool user_gesture) { |
29 } | 29 } |
30 | 30 |
31 } // namespace test | 31 } // namespace test |
32 } // namespace ui | 32 } // namespace ui |
OLD | NEW |