| Index: content/public/test/web_contents_tester.cc
|
| diff --git a/content/public/test/web_contents_tester.cc b/content/public/test/web_contents_tester.cc
|
| index 3b2ed5575afb1a9067f2cab3cd7277df76bfc0c4..4435d9ffc9669f1774379e7e30736869d645ea9c 100644
|
| --- a/content/public/test/web_contents_tester.cc
|
| +++ b/content/public/test/web_contents_tester.cc
|
| @@ -13,24 +13,6 @@ namespace {
|
| // The two subclasses here are instantiated via the deprecated
|
| // CreateWebContentsFor... factories below.
|
|
|
| -class TestWebContentsCountFocus : public TestWebContents {
|
| - public:
|
| - explicit TestWebContentsCountFocus(BrowserContext* browser_context)
|
| - : TestWebContents(browser_context), focus_called_(0) {
|
| - }
|
| -
|
| - virtual int GetNumberOfFocusCalls() OVERRIDE {
|
| - return focus_called_;
|
| - }
|
| -
|
| - virtual void Focus() OVERRIDE {
|
| - focus_called_++;
|
| - }
|
| -
|
| - private:
|
| - int focus_called_;
|
| -};
|
| -
|
| class TestWebContentsCountSetFocusToLocationBar : public TestWebContents {
|
| public:
|
| explicit TestWebContentsCountSetFocusToLocationBar(
|
| @@ -73,14 +55,4 @@ WebContents* WebContentsTester::CreateTestWebContentsCountSetFocusToLocationBar(
|
| return web_contents;
|
| }
|
|
|
| -// static
|
| -WebContents* WebContentsTester::CreateTestWebContentsCountFocus(
|
| - BrowserContext* browser_context,
|
| - SiteInstance* instance) {
|
| - TestWebContentsCountFocus* web_contents =
|
| - new TestWebContentsCountFocus(browser_context);
|
| - web_contents->Init(WebContents::CreateParams(browser_context, instance));
|
| - return web_contents;
|
| -}
|
| -
|
| } // namespace content
|
|
|