Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 8488015: Revert 110327 - Add ChromeBrowserParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 content::MainFunctionParams& parameters) { 27 const content::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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 #endif 317 #endif
318 318
319 #if defined(USE_NSS) 319 #if defined(USE_NSS)
320 crypto::CryptoModuleBlockingPasswordDelegate* 320 crypto::CryptoModuleBlockingPasswordDelegate*
321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
322 return NULL; 322 return NULL;
323 } 323 }
324 #endif 324 #endif
325 325
326 } // namespace content 326 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/public/browser/browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698