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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (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
« no previous file with comments | « content/browser/mach_broker_mac.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 virtual void CreateBrowserMainParts( 24 virtual void CreateBrowserMainParts(
25 const content::MainFunctionParams& parameters, 25 const content::MainFunctionParams& parameters,
26 std::vector<BrowserMainParts*>* parts_list) OVERRIDE; 26 std::vector<BrowserMainParts*>* parts_list) OVERRIDE;
27 virtual RenderWidgetHostView* CreateViewForWidget( 27 virtual RenderWidgetHostView* CreateViewForWidget(
28 RenderWidgetHost* widget) OVERRIDE; 28 RenderWidgetHost* widget) OVERRIDE;
29 virtual TabContentsView* CreateTabContentsView( 29 virtual TabContentsView* CreateTabContentsView(
30 TabContents* tab_contents) OVERRIDE; 30 TabContents* tab_contents) OVERRIDE;
31 virtual void RenderViewHostCreated( 31 virtual void RenderViewHostCreated(
32 RenderViewHost* render_view_host) OVERRIDE; 32 RenderViewHost* render_view_host) OVERRIDE;
33 virtual void BrowserRenderProcessHostCreated( 33 virtual void RenderProcessHostCreated(
34 BrowserRenderProcessHost* host) OVERRIDE; 34 RenderProcessHost* host) OVERRIDE;
35 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 35 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
36 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; 36 virtual WebUIFactory* GetWebUIFactory() OVERRIDE;
37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 37 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
38 const GURL& url) OVERRIDE; 38 const GURL& url) OVERRIDE;
39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, 39 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context,
40 const GURL& effective_url) OVERRIDE; 40 const GURL& effective_url) OVERRIDE;
41 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 41 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
42 virtual bool IsSuitableHost(RenderProcessHost* process_host, 42 virtual bool IsSuitableHost(RenderProcessHost* process_host,
43 const GURL& site_url) OVERRIDE; 43 const GURL& site_url) OVERRIDE;
44 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 44 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 private: 162 private:
163 // Temporary directory for GetDefaultDownloadDirectory. 163 // Temporary directory for GetDefaultDownloadDirectory.
164 ScopedTempDir download_dir_; 164 ScopedTempDir download_dir_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 166 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
167 }; 167 };
168 168
169 } // namespace content 169 } // namespace content
170 170
171 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 171 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/mach_broker_mac.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698