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 "content/test/web_contents_tester.h" | 5 #include "content/test/web_contents_tester.h" |
6 | 6 |
7 #include "content/browser/tab_contents/test_web_contents.h" | 7 #include "content/browser/web_contents/test_web_contents.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 // The two subclasses here are instantiated via the deprecated | 13 // The two subclasses here are instantiated via the deprecated |
14 // CreateWebContentsFor... factories below. | 14 // CreateWebContentsFor... factories below. |
15 | 15 |
16 class TestWebContentsCountFocus : public TestWebContents { | 16 class TestWebContentsCountFocus : public TestWebContents { |
17 public: | 17 public: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 } | 72 } |
73 | 73 |
74 // static | 74 // static |
75 WebContents* WebContentsTester::CreateTestWebContentsCountFocus( | 75 WebContents* WebContentsTester::CreateTestWebContentsCountFocus( |
76 BrowserContext* browser_context, | 76 BrowserContext* browser_context, |
77 SiteInstance* instance) { | 77 SiteInstance* instance) { |
78 return new TestWebContentsCountFocus(browser_context, instance); | 78 return new TestWebContentsCountFocus(browser_context, instance); |
79 } | 79 } |
80 | 80 |
81 } // namespace content | 81 } // namespace content |
OLD | NEW |