| 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/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 11 #include "content/browser/webui/empty_web_ui_factory.h" | 11 #include "content/browser/webui/empty_web_ui_factory.h" |
| 12 #include "content/test/test_tab_contents_view.h" | 12 #include "content/test/test_tab_contents_view.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
| 15 #include "ui/base/clipboard/clipboard.h" | 15 #include "ui/base/clipboard/clipboard.h" |
| 16 #include "webkit/glue/webpreferences.h" | 16 #include "webkit/glue/webpreferences.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 | 19 |
| 20 MockContentBrowserClient::MockContentBrowserClient() { | 20 MockContentBrowserClient::MockContentBrowserClient() { |
| 21 } | 21 } |
| 22 | 22 |
| 23 MockContentBrowserClient::~MockContentBrowserClient() { | 23 MockContentBrowserClient::~MockContentBrowserClient() { |
| 24 } | 24 } |
| 25 | 25 |
| 26 BrowserMainParts* MockContentBrowserClient::CreateBrowserMainParts( | 26 void MockContentBrowserClient::CreateBrowserMainParts( |
| 27 const MainFunctionParams& parameters) { | 27 const MainFunctionParams& parameters, |
| 28 return NULL; | 28 std::vector<BrowserMainParts*>* parts_list) { |
| 29 } | 29 } |
| 30 | 30 |
| 31 RenderWidgetHostView* MockContentBrowserClient::CreateViewForWidget( | 31 RenderWidgetHostView* MockContentBrowserClient::CreateViewForWidget( |
| 32 RenderWidgetHost* widget) { | 32 RenderWidgetHost* widget) { |
| 33 return NULL; | 33 return NULL; |
| 34 } | 34 } |
| 35 | 35 |
| 36 TabContentsView* MockContentBrowserClient::CreateTabContentsView( | 36 TabContentsView* MockContentBrowserClient::CreateTabContentsView( |
| 37 TabContents* tab_contents) { | 37 TabContents* tab_contents) { |
| 38 return new TestTabContentsView; | 38 return new TestTabContentsView; |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 #endif | 296 #endif |
| 297 | 297 |
| 298 #if defined(USE_NSS) | 298 #if defined(USE_NSS) |
| 299 crypto::CryptoModuleBlockingPasswordDelegate* | 299 crypto::CryptoModuleBlockingPasswordDelegate* |
| 300 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 300 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 301 return NULL; | 301 return NULL; |
| 302 } | 302 } |
| 303 #endif | 303 #endif |
| 304 | 304 |
| 305 } // namespace content | 305 } // namespace content |
| OLD | NEW |