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

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

Issue 9288074: Rename WebUIFactory to WebUIControllerFactory since that's what it creates now. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: blah Created 8 years, 11 months 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/browsing_instance.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 11 matching lines...) Expand all
22 virtual ~MockContentBrowserClient(); 22 virtual ~MockContentBrowserClient();
23 23
24 virtual BrowserMainParts* CreateBrowserMainParts( 24 virtual BrowserMainParts* CreateBrowserMainParts(
25 const content::MainFunctionParams& parameters) OVERRIDE; 25 const content::MainFunctionParams& parameters) OVERRIDE;
26 virtual WebContentsView* CreateWebContentsView( 26 virtual WebContentsView* CreateWebContentsView(
27 WebContents* web_contents) OVERRIDE; 27 WebContents* web_contents) OVERRIDE;
28 virtual void RenderViewHostCreated( 28 virtual void RenderViewHostCreated(
29 RenderViewHost* render_view_host) OVERRIDE; 29 RenderViewHost* render_view_host) OVERRIDE;
30 virtual void RenderProcessHostCreated( 30 virtual void RenderProcessHostCreated(
31 RenderProcessHost* host) OVERRIDE; 31 RenderProcessHost* host) OVERRIDE;
32 virtual WebUIFactory* GetWebUIFactory() OVERRIDE; 32 virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE;
33 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, 33 virtual GURL GetEffectiveURL(content::BrowserContext* browser_context,
34 const GURL& url) OVERRIDE; 34 const GURL& url) OVERRIDE;
35 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, 35 virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context,
36 const GURL& effective_url) OVERRIDE; 36 const GURL& effective_url) OVERRIDE;
37 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 37 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
38 virtual bool IsHandledURL(const GURL& url) OVERRIDE; 38 virtual bool IsHandledURL(const GURL& url) OVERRIDE;
39 virtual bool IsSuitableHost(RenderProcessHost* process_host, 39 virtual bool IsSuitableHost(RenderProcessHost* process_host,
40 const GURL& site_url) OVERRIDE; 40 const GURL& site_url) OVERRIDE;
41 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE; 41 virtual void SiteInstanceGotProcess(SiteInstance* site_instance) OVERRIDE;
42 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE; 42 virtual void SiteInstanceDeleting(SiteInstance* site_instance) OVERRIDE;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 private: 159 private:
160 // Temporary directory for GetDefaultDownloadDirectory. 160 // Temporary directory for GetDefaultDownloadDirectory.
161 ScopedTempDir download_dir_; 161 ScopedTempDir download_dir_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 163 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
164 }; 164 };
165 165
166 } // namespace content 166 } // namespace content
167 167
168 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 168 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698