| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/mock_content_browser_client.h" | 5 #include "content/browser/mock_content_browser_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "content/browser/webui/empty_web_ui_factory.h" | 10 #include "content/browser/webui/empty_web_ui_factory.h" |
| 11 #include "content/test/test_tab_contents_view.h" | 11 #include "content/test/test_tab_contents_view.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
| 14 #include "ui/base/clipboard/clipboard.h" | 14 #include "ui/base/clipboard/clipboard.h" |
| 15 #include "webkit/glue/webpreferences.h" | 15 #include "webkit/glue/webpreferences.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 MockContentBrowserClient::~MockContentBrowserClient() { | 19 MockContentBrowserClient::~MockContentBrowserClient() { |
| 20 } | 20 } |
| 21 | 21 |
| 22 BrowserMainParts* MockContentBrowserClient::CreateBrowserMainParts( |
| 23 const MainFunctionParams& parameters) { |
| 24 return NULL; |
| 25 } |
| 26 |
| 22 TabContentsView* MockContentBrowserClient::CreateTabContentsView( | 27 TabContentsView* MockContentBrowserClient::CreateTabContentsView( |
| 23 TabContents* tab_contents) { | 28 TabContents* tab_contents) { |
| 24 return new TestTabContentsView; | 29 return new TestTabContentsView; |
| 25 } | 30 } |
| 26 | 31 |
| 27 void MockContentBrowserClient::RenderViewHostCreated( | 32 void MockContentBrowserClient::RenderViewHostCreated( |
| 28 RenderViewHost* render_view_host) { | 33 RenderViewHost* render_view_host) { |
| 29 } | 34 } |
| 30 | 35 |
| 31 void MockContentBrowserClient::BrowserRenderProcessHostCreated( | 36 void MockContentBrowserClient::BrowserRenderProcessHostCreated( |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 #endif | 276 #endif |
| 272 | 277 |
| 273 #if defined(USE_NSS) | 278 #if defined(USE_NSS) |
| 274 crypto::CryptoModuleBlockingPasswordDelegate* | 279 crypto::CryptoModuleBlockingPasswordDelegate* |
| 275 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 280 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 276 return NULL; | 281 return NULL; |
| 277 } | 282 } |
| 278 #endif | 283 #endif |
| 279 | 284 |
| 280 } // namespace content | 285 } // namespace content |
| OLD | NEW |