| 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 "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
| 13 #include "ui/base/clipboard/clipboard.h" | 13 #include "ui/base/clipboard/clipboard.h" |
| 14 #include "webkit/glue/webpreferences.h" | 14 #include "webkit/glue/webpreferences.h" |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 MockContentBrowserClient::~MockContentBrowserClient() { | 18 MockContentBrowserClient::~MockContentBrowserClient() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 TabContentsView* MockContentBrowserClient::CreateTabContentsView( |
| 22 TabContents* tab_contents) { |
| 23 return NULL; |
| 24 } |
| 25 |
| 21 void MockContentBrowserClient::RenderViewHostCreated( | 26 void MockContentBrowserClient::RenderViewHostCreated( |
| 22 RenderViewHost* render_view_host) { | 27 RenderViewHost* render_view_host) { |
| 23 } | 28 } |
| 24 | 29 |
| 25 void MockContentBrowserClient::BrowserRenderProcessHostCreated( | 30 void MockContentBrowserClient::BrowserRenderProcessHostCreated( |
| 26 BrowserRenderProcessHost* host) { | 31 BrowserRenderProcessHost* host) { |
| 27 } | 32 } |
| 28 | 33 |
| 29 void MockContentBrowserClient::PluginProcessHostCreated( | 34 void MockContentBrowserClient::PluginProcessHostCreated( |
| 30 PluginProcessHost* host) { | 35 PluginProcessHost* host) { |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 #endif | 250 #endif |
| 246 | 251 |
| 247 #if defined(USE_NSS) | 252 #if defined(USE_NSS) |
| 248 crypto::CryptoModuleBlockingPasswordDelegate* | 253 crypto::CryptoModuleBlockingPasswordDelegate* |
| 249 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 254 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 250 return NULL; | 255 return NULL; |
| 251 } | 256 } |
| 252 #endif | 257 #endif |
| 253 | 258 |
| 254 } // namespace content | 259 } // namespace content |
| OLD | NEW |